Fix context problems in i18n helpers