Hi Friend
I am creating the multilingual site using Zend framework.
I have two language 1.English 2.Arabic.
To work on this i added
$translate = new Zend_Translate('csv', '../language/english.csv','en');
Zend_Registry::set('Zend_Translate', $translate);
this code snippet on Bootstrap.php
Using this i can work with only English language if i add this
$translate->addTranslation('../language/arabic.csv', 'ar');
I am able to work with Arabic language.
In the View
$this->translate('message2'); Using this
This functionality i need to use when user click on flag either English or
Arabic and the site language will
translated as per the language selected .This will remain till user Session
present.
Please any one can tell me that how can i do this ?
It will help me lot..
Thanks
Thanks.
--
View this message in context:
http://n4.nabble.com/How-to-create-Multilingual-site-tp1584636p1584636.html
Sent from the Zend Framework mailing list archive at Nabble.com.