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.
Example tree structure:

+-en
  +-documents
    +-news
      +-2007
        +-name-of-news-2.xml
        +-name-of-news-3.xml
      +-2008
        +-name-of-news-4.xml
        +-name-of-news-5.xml
        +-name-of-news-6.xml
    +-subpages
      +-subpage-name-1.xml
      +-subpage-name-2.xml
      +-subpage-name-3.xml
  +-structure
    +-sitemenu.xml
+-pl
  +-documents
    +-news
      +-2007
        +-nazwa-aktualnosci-1.xml
        +-nazwa-aktualnosci-2.xml
      +-2008
        +-nazwa-aktualnosci-4.xml
        +-nazwa-aktualnosci-5.xml
    +-subpages
      +-nazwa-podstrony-1.xml
      +-nazwa-podstrony-2.xml
      +-nazwa-podstrony-3.xml
      +-nazwa-podstrony-4.xml
      +-nazwa-podstrony-5.xml
  +-structure
    +-sitemenu.xml

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.

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?


Best Regards
Piotr Szumski
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to