common: Implement i18n_localegettext.