开发者

How do you organize gettext translation files which REGIONALISED?

My application is i18n but with reg开发者_Go百科ion 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?


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜