Friday
30
October
2009

Translation resources

Hy fellows,

even if it’s not official for now I want to point you to a new feature which will be available within the next few weeks.

Zend_Validate offers more than 100 different error messages which can easily be translated. The problem with “easily” is that you need to create the translation source eighter by parsing ZF’s code or by copying them from the documentation.

This is not a real fast way and is not really good for usability.

So I created translation resources for Zend_Validate’s error messages.
For now you can find them within the Incubator. Look into /incubator/resources/translate/en/Zend_Validate.php.

Use the Array Adapter to load them.
You can already find pre-translated messages for english (of course) and german.

As this feature is for now not officially accepted I would ask to wait before adding new translations until it’s available within core. When it’s time I will add you some example code for those not familiar with Zend_Translate.

Have fun with this new feature when you can’t wait :-)

Greetings
Thomas Weidner
I18N Team Leader, Zend Framework

Zend Framework Advisory Board Member
Zend Certified Engineer for Zend Framework

Back to top