Manually lnking to a page from a template on a multilingual site
Permalink
Hi, does anyone have any tips on the best way to create a link to page from the template on a multilingual site? I have a photo gallery icon on my homepage template, which I want to link to the photo gallery page.
On a single language site I can use the page cID to find the URL, but because of the way multilingual sites work in Concrete5, there are duplicates of each page. So if I'm on the German version the cID would point to the English version of the photo gallery.
I could just parse the URL and swap out /en/ for /de/, but I was wondering if there was a better way?
On a single language site I can use the page cID to find the URL, but because of the way multilingual sites work in Concrete5, there are duplicates of each page. So if I'm on the German version the cID would point to the English version of the photo gallery.
I could just parse the URL and swap out /en/ for /de/, but I was wondering if there was a better way?