Closed spieker closed 12 years ago
Good idea. I should implement this as the default behaviour for the default language.
Have implemented it, has to be tested now. I'll push it, if the tests are written and pass.
Can't merge as I changed a lot of things but I'll implement this feature using your code as a starting point. Thanks!
The default url scheme of RY CMS is /en/home-en. I need the root url not to be in the page path, i.e. /en for the english main page. Now, I have set german as default language, so this should also not be part of the url, i.e. / for the german main page.
Some examles:
To make this possible, the shortest page name could be three, so if the first part of the page has the length two, it must be a language definition.