Move i18n init into separate file