Description
Which Umbraco version are you using?
15.4.0
Bug summary
Hi!
I just got this issue reported for my package "The Dashboard".
Basically, the user has "en-UK" configured as his language, and the package only ships "en-US". Historically the localization would fall back to "en-US" but it seems like this is not working in 15.4.0, actually it stopped working in 15.3.0.
I'm not sure what to expect here. Should this be considered a regression bug or am I doing something wrong in the package? The fallback worked in v15.0.0 and up until v15.2.3.
The code is open source and the localization configuration happens here: https://github.com/enkelmedia/TheDashboard/blob/v15/dev/src/Our.Umbraco.TheDashboard/Client/src/manifest.ts
I'm registering the localization manifest like this:
{
type: "localization",
alias: "TheDasboard.Localize.En_US",
name: "The Dashboard Localization English (United States)",
meta: {
"culture": "en-us"
},
js : ()=> import('./localization/en-us.js')
},
Update:
I did try to change the casing when registering the localization to
meta: {
"culture": "en-US"
},
But this did not have any effect.
Could it be that something made the culture case sensitive in the v15.3.0 release?
Specifics
No response
Steps to reproduce
See above
Expected result / actual result
Language should fall back to en-US, and probably not be case-sensitive (if this is the problem).
This item has been added to our backlog AB#52696