You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you set different language and locale, the Calendar displays all date related messages in the selected locale, but the "Today" string is set through the messages. The "cldr" packages contain the "Today" string, so we might consider either taking it from the locale data or add an option for custom rendering for the "Today" button.
In the example, the locale and the language differ and within the Calendar, only the "Today" string is taken from the messages.
If we decide, we can take the "Today" string from the locale data:
import dateFields from 'cldr-dates-full/main/es/dateFields.json';
console.log(dateFields.main.es.dates.fields.day['relative-type-0']);
The text was updated successfully, but these errors were encountered:
Currently, if you set different language and locale, the Calendar displays all date related messages in the selected locale, but the "Today" string is set through the messages. The "cldr" packages contain the "Today" string, so we might consider either taking it from the locale data or add an option for custom rendering for the "Today" button.
Example:
https://stackblitz.com/edit/241hm5?file=src%2Fmain.vue,src%2Fes.json
In the example, the locale and the language differ and within the Calendar, only the "Today" string is taken from the messages.
If we decide, we can take the "Today" string from the locale data:
The text was updated successfully, but these errors were encountered: