omeka/Omeka — Issue #131: Handle translation of forms
Author: zerocrates
Created: 2011-11-09 15:47:34+00:00
State: open
Labels: i18n

Zend_Form and its various related classes will by default automatically translate things like labels.

Right now, we're manually passing these things through our translation function when defining the form. We need to decide whether we want to keep things this way (meaning we need to tell Zend_Form to not do translations itself) or if we should get rid of our manual translations and rely on Zend_Form to do things.

The problem with relying on Zend_Form is that it breaks the automatic tool we use to extract the translatable strings from the codebase. If we're using Zend's "automatic" functionality, the strings won't be surrounded in the special function call that the extractor looks for, and we'd need to have some other system set up to pull the right strings out.