I'm using Zend_Form in a project which I want to internationalize.
I understand that by setting a translator for the form object, it will
automatically translate labels for me without me having to explicitly call
$this->_translator->_('something to translate') for each element label.
All that is fine, but how do I generate my gettext files. If I explicitly
translate each label then poedit will scan my code folder and automatically
build up a language file with all the strings. If I just set my translation
object in the registry under the key 'Zend_Translate' all forms and
validators will do the translation automatically, but because I'm not doing
explicit translation, the poedit scanner can't build up the gettext language
file automatically.
How does anyone else overcome this problem?
--
View this message in context:
http://www.nabble.com/Zend_Form-internationalization-using-gettext-tp20946098p20946098.html
Sent from the Zend Framework mailing list archive at Nabble.com.