I’m building an application that will be used for multiple languages. But not one website that has multiple languages, but multiple websites that are in a particular language. But the websites are the same except the language, so I want to develop just one webapp and change the ‘language’=>‘en’ option in the config for every website.
I read about the i18n options that Yii offers and they are covering a lot the I need.
The only thing I can’t figure out is the rules for the UrlManager.
Is there a way I can have a file for every language that contains the rules for the UrlManager? Just like I have different view files for every language?
The reason is that I want the complete URL to be locale for every website.
Do you know the solution for me or do you know a better approach for me?