ketter
(Alberttogv)
1
Hi
I want change the default languague of the framework messages, I see they are in the framework/messages folder but I dont know how activate it.
I have tested adding:
Yii::app()->setLanguage(‘es_ES’); for spanish - Spain
on the main.php and in sitecontroller
without results
Thanks
3One
(Frooble Doo)
2
as far as i understand you need to put your message file under messages/<language>/
so set language to es and put your files under messages/es/
try using this quick guide:
http://www.yiiframework.com/forum/index.php/topic/3182-quick-start-to-internationalize-your-application-in-yii-framework/
jacmoe
(Jacob Moena)
3
[color="#006400"]/* Moved from Tips, Snippets to Yii 1.1 General Discussion - it’s not a snippet nor a tutorial… */[/color]
ketter
(Alberttogv)
4
Thanks so much… all works fine!