15 January, 2010
There are a few steps you need to take to configure poedit to work with a Zend Framework project properly. I will take you through the configuration process step by step, and in the end you should have a working installation.
In this tutorial we are on Windows, but the process is the same on Mac & Linux based systems, and poedit even looks much the same on all platforms.
Tags: poedit, Zend Framework, Zend_Translate
Posted in Development, Translation, Zend Framework
2 January, 2010
A recurring problem for site developers is implementing a solid way to create and maintain multilingual sites, this article series is my feeble attempt to guide you through how to quickly implement the Zend_Translate in an Zend Framework 1.9.x site.
The procedures and best practices for this is unfortunately like training a dog, everyone has a different way of doing it and an opinion, so the methods and code I show here are take out of applications that are running in production so if you have a better way of doing it please feel free to comment!.
Tags: poedit, Zend Framework, Zend_Form, Zend_Locale, Zend_Registry, Zend_Session, Zend_Translate
Posted in Development, Translation, Zend Framework
16 January, 2010
You will notice that once you have started translating an application using poedit it’s quite a smooth process, what hampers the experience a little bit is the mutitude of ways you can write code in Zend Framework, this is great in every way for developers, but requires a bit of thinking when you need to also translate all the UI strings.
So how do we make poedit detect the strings while making our code pretty?
Tags: poedit, Zend Framework, Zend_Form, Zend_Locale, Zend_Translate
Posted in Development, Translation, Zend Framework
17 January, 2010
As an update to the method of having everything related to Zend_Translate and Zend_Locale in the Bootstrap, here is an alternative using an Controller Plugin that does the grunt work of validating, selecting and updating the Zend_Locale, Zend_Registry & Zend_Session using Zend_Session_Namespace. And we are using poedit .po & .mo files as the source as usual.
Tags: PHP, plugin, poedit, Zend, Zend_Locale, Zend_Registry, Zend_Session, Zend_Translate
Posted in Development, Translation, Zend Framework