Added CustomTranslator support to enable gettext hooks in phabricator