I want to use a URL rewrite on my site:
/:@controller/:@action/
So I want to use translated segments on route and I want to detect requested language from these translated segments. For example, if user request a url like this:
/user/profile/
then I could understand that requested language is English. And if user request a url like this:
/kullanici/profil/
then I coult understand that requested language is Turkish. How can I do this with Zend_Controller_Router?