Add en translations.

This commit is contained in:
Karel Vendla
2021-04-20 15:57:14 +03:00
parent 0b6be4d08c
commit fbae01cab8
40 changed files with 410 additions and 166 deletions

View File

@ -15,7 +15,7 @@ const initialized = i18next.init({
fallbackLng: 'en',
whitelist: ['en', 'et'],
backend: {
loadPath: 'locales/{{lng}}/{{ns}}.json',
loadPath: `${window.location.origin}/locales/{{lng}}/{{ns}}.json`,
},
detection: {
order: ['querystring', 'path', 'localStorage', 'navigator'],