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.