-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
None
-
None
-
-
Empty show more show less
-
DevX 9
-
3
Steps to reproduce
- Define a site definition in English and Chinese. (English as fallback)
<site config>: [...] i18n:   [...]   fallbackLocale: en   locales: en: enabled: true     language: en     country: zh_CN: enabled: true     language: zh    country: CN
- Set up a template with the new spa renderer
[...] routeTemplate: /{language}{{@path}} [...]
- Open the pages app and switch the language to Chinese
Expected results
I would expect to see the content translated into Chinese.
And if I click on the open page in a new tab, I would expect to see a URL like this:
https://<URL to my system>/zh_CN/<path of my page>
Actual results
I see the fallback content in English and if click on the open page in a new tab I see the following URL:
https://<URL to my system>/zh/<path of my page>
Workaround
As far as I could see, there is no workaround for this problem!
- is related to
-
MGNLREST-374 magnolia-rest-content-delivery should fallback to default language
- Open
-
MGNLFE-194 Don't work with lang param that include country code
- Closed
-
MGNLREST-369 BadRequestException is swallowed
- Closed
-
MGNLREST-373 magnolia-rest-content-delivery does not work with locale string with underscore
- Closed
-
MGNLPN-631 Update to a new version of magnolia-rest-content-delivery
- Closed
1.
|
Add mising language tag | Completed | Phong Le Quoc | |
2.
|
Review PR | Completed | Canh Nguyen | |
3.
|
PiQA | Completed | Chuong Doan Huy | |
4.
|
QA | Closed | Rishab Dhar |