Hello,
I have an app where the user can have separate language selection and cultural settings.
Language selection changes the text translations of the whole product. Cultural setting should change only things such as date/time formatting, week start day, time type (12hour/24hour clock).
The user could have set finnish language and english culture, or finnish language and culture, etc...
Now, locale registration in Bryntum components is done with the LocaleManager and the locale-object keeps both of these (language translations and cultural formatting) in its properties. Is there an easy way to make these two separate?
I was thinking of making a separate locale-objects: "languageLocale" and "cultureLocale", then merge these two using LocaleManager's extendLocale-method based on the user settings. This could work, but that means I would have to write locales by myself for each language and culture selection, which seems like alot of work and maintenance.
If there is no existing solution for this, could it be added in the future? Best/easiest solution for me would be if I could just import a "localeLanguageSettingsEnglish" and "localeCulturalSettingsEnglish" (for swedish too as you already have it) and register those with properties for example: LocaleManager.languageLocale = localeLanguageSettingsEnglish. Just an idea