Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to implement multi-language in Zend Framework

What is the best way to implement multi-language support in the Zend Framework?

I plan to use a separate language file for each language. Are there any other good approaches that I could look into?

like image 790
Alan Avatar asked Jun 22 '09 02:06

Alan


2 Answers

I've done it several times with Zend_Translate and poedit.

Check this links:

  • string-localization-with-gettext-and-zend-framework

  • internationalization-i18n-localization-l10n-15/using-poedit

like image 55
Macarse Avatar answered Nov 03 '22 11:11

Macarse


Yes, this is ZF agnostic and IMO is the way to go.

Learn how to use gettext and use something like Poedit to translate the content.

like image 29
Alix Axel Avatar answered Nov 03 '22 09:11

Alix Axel