13 December 2010 at 10:18pm
(Last edited: 13 December 2010 10:18pm),
i'm actually working to get silverstripe running in different languages. the structure should look like this:
eg. -> /enu/shop/details/10 (english version)
and -> /deu/shop/details/10 (german version)
the first URLSegment ist for the language and the region.
i already found a solution getting these language-folders working. but now the problem is - silverstripe prevents duplicate URLSegments in the SiteTree-table.
now my question: where i can find the point where SS appends the "-de-DE" / "-2" at the URLSegment?
14 August 2012 at 8:28pm
Hi, we had the same issue. As a workaround we just used one page in the pagetree root and put all other pages as childs. This "root page" has a custom pagetype "language". It has no content but the /en/ URL segment. Not the most elegant way but it works.