For the second part of my Zend Framework Best Practices series, I’d like to show you what I’ve found to be a simple and solid implementation of internationalizing your website.
Zend Framework already contains components like Zend_Locale and Zend_Translate to assist in internationalizing your website. You use the
Zend_Locale instance in conjunction with the
Zend_Translate to know what current locale is being used and how to translate the content. I’m going to show you how to implement these into your website.
If you haven’t read the first part of this series, I would recommend it as all my examples here will be based on that structure.