Add pull requsted languages to i18n whitelist & to dropdown.

This commit is contained in:
Karel Vendla
2021-04-24 10:51:17 +03:00
parent 2a12123295
commit 0bd6b24a27
2 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,7 @@ i18next
const initialized = i18next.init({
fallbackLng: 'en',
whitelist: ['en', 'et'],
whitelist: ['en', 'et', 'fa', 'bn', 'es'],
backend: {
loadPath: `${window.location.origin}/locales/{{lng}}/{{ns}}.json`,
},