Created
October 30, 2013 19:09
-
-
Save cagartner/7238303 to your computer and use it in GitHub Desktop.
configuração de tradução
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'translator' => array( | |
| 'locale' => 'pt_BR', | |
| 'translation_file_patterns' => array( | |
| array( | |
| 'type' => 'phpArray', | |
| 'base_dir' => __DIR__ . '/../../../vendor/zendframework/zendframework/resources/languages', | |
| 'pattern' => '%s/Zend_Validate.php', | |
| 'text_domain' => __NAMESPACE__, // Sem isso, o textDomain, usado pelo Zend\I18n\Translator\Translator fica 'default' e como o 'default' já foi definido quando foi adicionado no Application/config/module.config.php há um conflito e fica prevalecendo o do modulo Application | |
| ), | |
| ), | |
| ), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment