Hi Ani Sorry for not replying so long, I was on vacation.
Daniel already explained most of the ideas I used too. I assume that a translated page (lets say French )has the same page handle as the original(english), except for the language node (EN / FR). I assemble links to the translated page in the following way: -It is checked what languages are present on the language level: /project/en/pages /project/fr/pages --> results in two links (French and English )that might be displayed - If a link has to be shown depends if there really is a page with a similar handle. This is done by checking if such a page exists below the other language(s). - The link title of course should not be en or fr of course, but "French" / "English", so I created the corresponding labels and use them for displaying. I guess I will put my work in a new Tag, however I am not really sure how to use the labels without using the built-in custom labels. Does anyone has a hint for me how to use labels for tags? ******************************************** IPH Informatik AG Herr Claudio Greuter Lagerhausstrasse 9 8400 Winterthur Switzerland Tel: +41 (0)52 203 26 72 Fax: +41 (0)52 233 94 71 Email: [EMAIL PROTECTED] ******************************************** -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 27. September 2006 11:44 To: [email protected] Subject: Re: [magnolia-user] multi language support You can easily use this approch to add as many languages as you need. Simply build your tree the following way: /de/any/pages /en/any/pages /sp/any/pages If you are using the simpleNavigation tag you can use it like this: <cms:simpleNavigation startLevel="1" expandAll="true" /> With the startLevel parameter you can skip the de, en and sp links in the navigation. Now you have completly unrelated languages available which all can have their individual pages and properties. You can easily copy a whole branch to create a new language if desired. In most cases you'll use the same subpages in all of them. If this is the case you can easily change your displayed language by linking to the appropriate path of the other languages by simply replacing /de/ with /en/ and so on. -- Daniel Bleisteiner ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://www.magnolia.info/en/magnolia/developer.html ----------------------------------------------------------------
