Add i18n support to extension.