Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.7
-
Yes
-
Empty show more show less
-
Yes
-
Global Maintenance 3
-
5
Description
When using a site definition like this:Â
I expect the default locale to be "en" (for international purposes, where as en_GB will be UK specific). This works fine for the homepage when the locale is set to "en", for subpages however the DefaultI18nContentSupport doesn't default to the default locale but instead resolves to the fallback on subpages. Resulting in a locale of "en_GB" where no locale was provided in the url as opposed to "en".Â
For home page (correct):
On subpages, actual:
On subpages, expected:Â
So that on the default/global website in absence of any content the fallback is used, but we don't set the locale for the website since that should still be the default.Â
I've resolved for our project, but I think this might actually be unintended behavior across the board.Â
Fix:Â
Checklists
Attachments
Issue Links
- is cloned by
-
MAGNOLIA-8299 Follow-up - DefaultI18nContentSupport wrongly forwards to fallback locale as opposed to default locale on sub pages
-
- Open
-
- relates to
-
MAGNOLIA-8733 Add Locale variant support to I18nContentSupport
-
- Open
-
- to be documented by
-
MAGNOLIA-8243 DOC: Explain fallback locale vs default locale
-
- Closed
-