I want to implement multi language in my site using zend framework.
I need 开发者_运维问答step by step solution, i got some solution but not able to understand.
Thanks in advance.
Kanji
You can use Zend_Translate
for this.
You have to
- Decide which adapter you want to use;
- Create your view and integrate Zend_Translate in your code;
- Create the source file from your code;
- Translate your source file to the desired language.
The reference manual explains these steps in further detail. You might also be interested in
- Devzone: Zend Framework and Translation
- ZendCasts: Introducing Zend_Translate
Following link will help you
http://www.tornstrand.com/2008/03/29/string-localization-with-gettext-and-zend-framework/
精彩评论