Skip to end of metadata
Go to start of metadata

This code snippet provides a Zend Framework (1.5.0) plugin that will auto-detect the browser language setting and make translations available to views via Zend_Registry.

MyPlugin_Language class

Then when in a view script you can simply call:

If you need translation in a helper you need to add a setView function e.g.

Labels:
zend_translate zend_translate Delete
translate translate Delete
zend_locale zend_locale Delete
locale locale Delete
language language Delete
plugin plugin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.