3
votes

My application is i18n but with region difference, that's mean, I'll need to have such translations:

  • ch_DE
  • fr_FR
  • cn_HK
  • ru_RU

etc...

In the Zend_Translate documentation it's said that you can use the following structure :

/languages
  /en
    lang.en
    other.en
  /de
    lang.de
    other.de

Will Zend_translate work with regionalized folder like ch_DE?

1

1 Answers

1
votes

If you are about to use gettext use the gettext standardized locales directory to put your localized files.

This looks like:

 locale/fr/LC_MESSAGES/mydomain.mo 
 locale/fr_FR/LC_MESSAGES/mydomain.mo 
 locale/en_US/LC_MESSAGES/mydomain.mo