45
Views
2
Comments
[Year Calendar] Changing the language doesnt work
year-calendar-reactive
Reactive icon
Forge asset by darwinLabs
Application Type
Reactive

Hello,

I was trying to change the language but it doesnt seem to work.


Can I get some help?

Thank you.


UserImage.jpg
Nurlan Emirov

Hello,

First you need get locales from github https://github.com/year-calendar/js-year-calendar/tree/master/locales

After put the locale as shown 

 


2022-08-25 15-33-28
Tomás Silva Rocha

Hello,

We have just released Year Calendar's version 2.0.0 where one of the changes made was to add language support.

The calendar continues to default to English if the language input parameter is empty or has no match.

But besides that, the newly added languages are:

  • de: German
  • es: Spanish
  • fr: French
  • ja: Japanese
  • nl: Dutch
  • pt: Portuguese


If you need to have the calendar displayed in a different language, you can always check the full list of supported languages from the js-year-calendar library - https://github.com/year-calendar/js-year-calendar/tree/master/locales - and add the needed language to the js_year_calendar_locales script file.


Kind regards,

Tomás

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.