Pure PHP Implementation of gettext