Using gettext in environments that do not have locale context