[opencms-dev] menu in different languages
Stephan Hartmann
beffe at beffe.de
Wed Mar 9 10:39:35 CET 2005
Hi Marek,
there already has been a discussion about that and we recently created a new LocaleHandler (you can find it in this list posted by Robert Petermeyer) and extended the navigation classes of OpenCms to handle new properties like "NavText_en"...
Unfortunately, the LocaleHandler has not been integrated in the OpenCms core, yet, although it is a good option if you don't want to have an own subdirectory for every new language.
But anyway, you can grab the LocaleHandler from the list and define it in opencms-system.xml and ask Robert for the navigation classes that make use of it.
Regards,
Stephan
----- Original Message -----
From: Marek
To: The OpenCms mailing list
Sent: Wednesday, March 09, 2005 10:02 AM
Subject: Re: [opencms-dev] menu in different languages
Hello Kai
I have allready been trying what you have written. The problem is that if I copy the folder test_de by checking the radio button at "Copy no resource, just create siblings of all resources in the folder " to folder test_en and then create in folder test_de a new file e.g. cars.html, this file is not visible in folder test_en! It is not visible in folder test_en neither as an ordinary file nor as sibling. So each time I will create a file in first folder I will have to create a sibling to this file in the second folder. And each time I will move or rename a folder inside test_en I will have do it again in test_de - which is horrible solution!
Regards
Marek
----- Original Message -----
From: Kai Schliemann
To: The OpenCms mailing list
Sent: Wednesday, March 09, 2005 9:23 AM
Subject: AW: [opencms-dev] menu in different languages
Hi Marek,
... A very top menu (like startseite, ... suche) and a very bottom menu (like Barrierefrei, Impressum) is in German, but the left navigation menu and the top navigation menu is still in English!
... Theses menues are not multilanguage. Only the two navigation items in the menu under "Templateone Demo Pages > Multilanguage Demo" are multilanguage.
... The problem is that I cannot make a sibling to a folder!...
Of course you can. Just create a folder (test_de), add it to navigation, add the property value "de" to the locale property and create a page in this folder.
Now copy the folder by checking the radio button at " Copy no resource, just create siblings of all resources in the folder " to test_en.
In the copied folder change the locale property to "en". That's it!
(Well, theoretically I can make a sibling to a folder but in fact opencms creates a copy of the folder, which is not very elegant).
That is kind of true. Actually it is not copy but a link (or sibling).
Unfortunately I don't know an other solution to create a multilingual website in OpenCms. And as the demo was made like that I assume, that there is no other.
Has anyone else found an other solution? I would be very interested in that.
Regards
i.A. Kai Schliemann
IT-Consultant
____________________________________________
comundus IT-Beratung GmbH
Schüttelgrabenring 3, 71332 Waiblingen
Tel: +49 (0) 71 51-5 00 28-0 Fax: -99
www.comundus.com www.comundus-e-quality.com
____________________________________________
Regards,
Marek
----- Original Message -----
From: Kai Schliemann
To: The OpenCms mailing list
Sent: Tuesday, March 08, 2005 6:17 PM
Subject: AW: [opencms-dev] menu in different languages
Hi Marek,
just change the Navtext for each language siblings. Have a look at the language demo of Beta 1.
Mit freundlichen Grüßen
i.A. Kai Schliemann
IT-Consultant
____________________________________________
comundus IT-Beratung GmbH
Schüttelgrabenring 3, 71332 Waiblingen
Tel: +49 (0) 71 51-5 00 28-0 Fax: -99
www.comundus.com www.comundus-e-quality.com
____________________________________________
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Marek
Gesendet: Dienstag, 8. März 2005 18:06
An: The OpenCms mailing list
Betreff: [opencms-dev] menu in different languages
Hello
I know that I can create many language versions for pages (English and German version by default). How can I make OpenCms to display menu in German when I select German version of a page, and in English after I select English version of the page?
Regards,
Marek
------------------------------------------------------------------------
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
----------------------------------------------------------------------------
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
------------------------------------------------------------------------------
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050309/67bfe08a/attachment.htm>
More information about the opencms-dev
mailing list