Added support for gettext in php