Hi Piotr,
I'll try to help you out as best as possible.
Piotr Szumski wrote:
Hello
In our project we encounter problem with linkage between different
language versions.
We use sitemenu to obtain "pretty urls" for folders and document names.
Our goal is to have link to another language version (in frontend), but
we want to link not to home page, but to coresponding document from that
language version tree.
What frontend technology are you using to create your website? If you
are using Hippo Cocoon, you could use the SitemenuLinkRewriterTranformer
(perhaps you will need to extend it a bit, I'm not sure). It listens to
the sitemenu. You could configure multiple sitemenu's for different
languages.
Have you seen this page?
http://www.hippocms.org/display/CMS/Sitemenu+Input+Module
It explains the sitemenu module and what you could do with it in
combination with multiple langauges.
Then there is the SitemenuLinkRewriterTranformer, which will rewrite
your links based on the sitemenu for the current site.
In example, when we see page
en/documents/news2007/name-of-news-1.xml
language version link should take us to
pl/documents/news/2007/nazwa-aktualnosci-1.xml
Any ideas how to achieve it?
I hope this helps you in the right direction.
Best Regards
Piotr Szumski
Regards,
Jeroen Reijn
********************************************
Hippocms-dev: Hippo CMS development public mailinglist