Internationalization in PHP

后端 未结 4 607
鱼传尺愫
鱼传尺愫 2020-12-03 06:15

I am currently researching the best methods to integrate i18n into projects.

There\'s several methods I have thought of doing this, first being a databa

4条回答
  •  猫巷女王i
    2020-12-03 06:36

    In addition to gettext already mentioned, PHP 5.3 has native Internationalization support

    If that's not an option, consider using Zend Framework's Zend_Translate, Zend_Locale and related components for that. Zend_Translate supports a number of adapters, including but not limited to simple arrays, gettext, XmlTm and others.

提交回复
热议问题