Schedule: Allow custom localization
See original GitHub issueDescription In PF < 7.0 the Schedule component was configured using PF locales: https://github.com/primefaces/primefaces/wiki/Locales
When we upgraded to Full Calendar 4.X for PF 8.0 it was decided to use the already built translations that come with FullCalendar so if you used locale="fr"
for French you would get the French translation from FullCalendar:
https://github.com/fullcalendar/fullcalendar/blob/master/packages/core/src/locales/fr.ts
Full list of locales: https://github.com/fullcalendar/fullcalendar/tree/master/packages/core/src/locales
However the ability to override the default or customize the localization was lost.
Issue Analytics
- State:
- Created 3 years ago
- Comments:21 (21 by maintainers)
Top Results From Across the Web
Add a custom Localization Framework setting to enable bulk ...
Add a custom Localization Framework setting to enable bulk translations · Navigate to All > Localization Framework > Settings. · In the Setting ......
Read more >Custom Localization - Stardew Valley - Nexus Mods
Custom Localization is a Localization Mod for Stardew Valley Android only. It allow you to custom game's language select button and add new ......
Read more >Globalization in JavaScript Schedule control - Syncfusion
Localization library allows to display all the static text, date content, and time mode of the Scheduler following the localized language.
Read more >Understanding localization and Customer interface text
You to localize the Customer scheduling experience by applying different languages, date/time formats, and other language-specific and culture- ...
Read more >Configuring a custom localization provider - Optimizely
Register localization providers during site initialization. The preferred way to do this is to implement the IInitializableModule interface and handle the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi all,
I made the following changes;
@melloware It seems the removed localizations options pertain to date and time formatting. By default, FullCalendar uses the native built-in Intl.DateTimeFormat for localizing dates and times. Additionally, there’s also the moment plugin (which we use). The built-in formatter is used when the date/time format is an object, moment is used when the date/time format is a string (e.g. “dd-MMMM”).
It’s possible to customize the dates and times shown in the FullCalendar by setting a date/time format (e.g.titleFormat), and update moment’s localization options, like this: