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
I am using the @googlproxer/ion-range-calendar package in my Angular project, and I need to configure the calendar to display the names of months and days in a specific locale (e.g., German). However, I couldn't find clear documentation on how to achieve this.
Display month names (e.g., Januar, Februar, etc.) in the desired locale.
Display day labels (e.g., Mo, Di, Mi, etc.) in the desired locale.
Start the week on Monday as per the locale.
I have set in LOCALE_ID in providers array:
Also, I set calendarMonths:
But result is still months in english:
Questions:
How can I configure the calendar to use a specific locale for months and days?
Is there a specific locale property I need to define, and if so, what structure does it require?
Are there any built-in locales, or do I need to manually provide the localized strings?
Any guidance or examples would be highly appreciated. Thank you!
The text was updated successfully, but these errors were encountered:
zaidas1m
changed the title
Localization
Localization using plugin as modal
Dec 11, 2024
I am using the @googlproxer/ion-range-calendar package in my Angular project, and I need to configure the calendar to display the names of months and days in a specific locale (e.g., German). However, I couldn't find clear documentation on how to achieve this.
Angular Version: 17.3.0
@googlproxer/ion-range-calendar: 18.0.1
Expected Behavior:
The calendar should:
I have set in LOCALE_ID in providers array:

Also, I set calendarMonths:

But result is still months in english:

Questions:
How can I configure the calendar to use a specific locale for months and days?
Is there a specific locale property I need to define, and if so, what structure does it require?
Are there any built-in locales, or do I need to manually provide the localized strings?
Any guidance or examples would be highly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: