[eluser]Erdal Demirtas[/eluser]
[quote author="xwero" date="1228791777"]I was thinking about a more flexible approach. It doesn't matter if the first segment is a controller, directory or method. The routes know where the content is for that url.
[/quote]
Yes, it is correct, the solution must be flexible.
If the mapping is done through the Routes, it does not matter what serves the request. In my case it was a controller, but it could have been a method as you say.
[quote author="xwero" date="1228791777"]
The problem is if you go from one language to another keeping the surfer on the same page. This could mean a massive segments file and that for several languages.
[/quote]
This is really a big problem.
But if you can't or don't need to translate everypage one to one, this is not a problem any more. The visitor begins from the first level (segment_1) every time the language is changed. Of course it is not a global solution, but it was what I need.
I hope we hear more alternatives and ideas about doing all this better.