Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
Javadoc resource link | ||||
---|---|---|---|---|
|
<name>_<locale>
. The detection of the current locale, based on the URI for instance, is left to oane of the following three implementations.Javadoc resource link | ||||
---|---|---|---|---|
|
Javadoc resource link | ||||
---|---|---|---|---|
|
de
for example. It checks if a node data with the <name>_<language><locale>
pattern exists on a content node:Javadoc resource link | ||||
---|---|---|---|---|
|
Code Block |
---|
my-website ├─en │ ├─page-1 │ └─page-n ├─de │ ├─page-1 │ └─page-n └─de_CH ├─page-1 └─page-n |
The locale code can be at whatever position in the URI, not necessarily the first one. For example, /my-website/node-1/node-2/de/home-page.html
.
...