CMS-3098 Create global i18n function.