Closed farhad2161 closed 11 years ago
If you use key=>value
in your languages
then the key relates to the URL string, and value the language you want to have. So maybe you should try something like
'languages' => array(
'fa_ir' => 'fa',
'fa',
..
),
By the way: english
, eng
, far
and farsi
are not valid values for the application language.
thanks
i want to load message translation from same folder when a language have two different language code. For example in persian both "fa" and "fa_ir" should be translated from "\protected\messages\fa_ir" directory. I try to set config file like this
but it does not work and i should have two different folder one for "fa" and other for "fa_ir".Is there any solution to have single folder "fa" and then connect both "fa" and "fa_ir" to this folder.