[opencms-dev] Change locale on NavText
Paul-Inge Flakstad
flakstad at npolar.no
Mon Aug 24 21:54:14 CEST 2009
Hi
The navigation text is stored as and read from a property. When you have a multilanguage setup, the convention is to have one top-level folder for all contents of each language, with the "locale" property set to the two-letter language code ("en" and "de", for example, for english and german).
Furthermore, the convention for having a multilanguage page is to create the page inside one language folder, then copy it as a sibling to other language folders. One important fact here: siblings can have individual property values - like the "NavText" property, while the content is shared (but split into language sections, which makes it possible to swap languages when editing).
If you have followed this convention, you should have the navigation texts display in the correct language - depending on which one of the siblings you're viewing.
To learn more, have a look at http://opencms-forum.de, http://www.opencms-wiki.org or the OpenCms mailing list. A little bit of Googling will probably also give you everything you need to know.
HTH
-Paul
________________________________
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Straw xD
Sent: 24. august 2009 21:07
To: opencms-dev at opencms.org
Subject: [opencms-dev] Change locale on NavText
Hi, I'd like to know how i can to make several NavText depending of the Location. I have a multilanguage webpage with a NavBreadCrumb, but I only have the NavTexts in my default language.
Thank you very much
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090824/29693376/attachment.htm>
More information about the opencms-dev
mailing list