Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hello,


We have an app with 4 locales. For each language, we load translations as follow:

loadCldr(
  require('../../../node_modules/cldr-data/main/fr-CH/ca-gregorian.json'),
  require('../../../node_modules/cldr-data/main/fr-CH/currencies.json'),
  require('../../../node_modules/cldr-data/main/fr-CH/numbers.json'),
  require('../../../node_modules/cldr-data/main/fr-CH/timeZoneNames.json'),
);
L10n.load({ "fr-CH": require('src/assets/i18n/fr-CH.json').syncfusion });



Each translation file contains at least the following values:

"syncfusion": {
    "datepicker": {
      "day": "jj",
      "month": "MM",
      "year": "aaaa",
      "today": "Aujourd'hui"
    },
    "timepicker": {
      "hour": "hh",
      "minute": "mm"
    },
    "schedule": { ... }

Our app enables runtime language change. As soon as the language changes, we use 

setCulture(culture);

to update syncfusion components.

The schedule component seems to be updated properly, but concerning the datepicker components, we're facing two problems:

  1. whatever the locale is, the 'Today' button is not translated (fig 1)
  2. the datepicker mask translations are shifted. e.g. my default language is FR : the datepicker mask is correct at the beginning. When I change language for EN, the datepicker mask still is FR mask. When I change language for IT, the datepicker mask gets EN translation. When I change language for DE, the datepicker mask gets italian translation ; and so on... however the schedule is properly translated
 
Figure 1 
Empty