Some keys are missing from the kendo-angular-messages yml files

1 Answer 217 Views
Conversational UI Localization MultiViewCalendar Tooltip
Stefanie
Top achievements
Rank 1
Stefanie asked on 27 Apr 2022, 08:57 PM

We are localizing our application for the first time and have started to pull the key/translations from the yml files in @progress/kendo-angular-messages.

So far we have noticed that the en-US and fr-CA files are missing target values for the following:

  • kendo.chat.*
  • kendo.multiviewcalendar.*

If we run the command: "npx kendo-translate src/locale/messages.fr.xlf --locale fr-CA", the resulting file is missing target elements for meanings like kendo.chat.send and kendo.multiviewcalendar.today.

It looks like there are other missing packages as well like kendo.colorpicker.*, kendo.stepper.*, and kendo.tooltip.*.

This is a problem for us because we aren't using the Angular i18n built-in support.  Instead, we are using ngx-translate and have implemented our own MessagingService for the kendo strings, using the English files in the kendo-angular-messages as the source for the key/value pairings and for translation.  As a result, if the ids aren't in the yml files, we end up with keys displaying in our UI like this:

 

Would it be possible to update the kendo-angular-messages repo to contain all the strings, at least in English?

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 29 Apr 2022, 07:06 AM

Hello Stefanie,

Indeed, some message keys are missing from the respective files in the kendo-angular-messages repo. You can track the following issue in our public GitHub repo which will be updated once all missing translations are present in the messages files:

https://github.com/telerik/kendo-angular/issues/3657

We are typically adding the keys with their default english values to the en-US file, and then replicating it for all locales. The actual translations are considered community effort, and we are accepting pull requests for any further translations.

I apologize for the caused inconvenience, and I also updated your Telerik points for reporting additional missing message keys.

Regards,
Dimiter Topalov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Stefanie
Top achievements
Rank 1
commented on 29 Apr 2022, 01:19 PM

Thanks for the explanation.  If we'd like to help contribute strings, what is the best approach?  Should we submit a PR to the github repo?
Dimiter Madjarov
Telerik team
commented on 02 May 2022, 06:39 AM

Hi Stefanie,

The issue will require a bit of work on our end to generate the required yml files. From there on, we are completely open to accept PRs with concrete language translations. The following document describes the contribution process in details

https://github.com/telerik/kendo-angular-messages/blob/develop/CONTRIBUTING.md

Tags
Conversational UI Localization MultiViewCalendar Tooltip
Asked by
Stefanie
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or