PHP internationalization with gettext
You must install the Package
gettext, which comes as a meta-package and contains a bundle of commands (at this point it is similiar to imagemagick; one package, several commands).
$ sudo a […]
This Smarty modifier helps instantly translating Strings into other Languages using the PHP Extension 'gettext'
In all Examples, the File "backend" (backend.mo) will be consulted for Translation.
Simple Output of a String: