I had the same problem and kept searching for a long time. But I never found
an official documentation.

Fortunately I found this link:
http://old.nabble.com/how-handle-Locale---td23444391.html how handle Locale
? 

The user uses a different way to describe the directory for the data:
resources.translate.data = APPLICATION_PATH "/../languages"
resources.translate.options.scan = filename

This works fine for me! Does this help?!

Maybe I should post this as an issue hoping for a better documentation in
the API?

Please also have a look at this thread:
http://old.nabble.com/Problem-with-Zend_translate-td26400093.html#a26404854
Problem with Zend_translate 


scss wrote:
> 
>       resources.translate.registry_key   = "Zend_Translate"
>       resources.translate.adapter         = "array"
>       resources.translate.data.directory  = APPLICATION_PATH "/languages/"
>       resources.translate.disableNotices      = false
>       resources.translate.options.scan    = "filename"
>       resources.translate.options.logUntranslated = true
>       resources.translate.data.fileExt        = "php"
>       resources.translate.locale                      = "en_US"
> 

-- 
View this message in context: 
http://old.nabble.com/could-not-get-zend_translate-do-translation...-tp25843227p26404886.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to