Dashboard > RIFE > ... > Web engine > URL localization
RIFE Log In   View a printable version of the current page.
URL localization


Added by Geert Bevin, last edited by Geert Bevin on May 22, 2004
Labels: 
(None)

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.



Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.1a Build:#515 May 19, 2006) - Bug/feature request - Contact Administrators