URLs are an important part of your web application and make it possible for people to remember and access distinct locations directly. The site structure allows the usage of different URLs according to the default localization language.
The default localization language is 'en' if it hasn't been defined by the user. You can modify it by providing a value for the L10N_DEFAULT_LANGUAGE configuration parameter.
Instead of regular URLs, you can use the following definition in your site structure, for example:
<element id="ROOT" file="root.xml" url="fr:/racine,nl:/wortel,/root"/>
This will result in the following behaviour:
- if the default language is 'fr',
the URL '/racine' will be used;
- if it's 'nl',
the URL '/wortel' will be used;
- and for any other language,
the URL '/root' will be used.