PHP-gettext provides a simple gettext replacement that works independently from the system's gettext abilities. It can read MO files and use them for translating strings.

This version has the ability to cache all strings and translations to speed up the string lookup. While the cache is enabled by default, it can be switched off with the second parameter in the constructor (e.g. when using very large MO files that you don't want to keep in memory)


Copyright (c) 2003-2006 Danilo Segan

Copyright (c) 2005-2006 Steven Armstrong