connected i18n locale files to js layer