Skip to content

Commit

Permalink
Merge pull request bitfinexcom#426 from ZIMkaRU/feature/prevent-retur…
Browse files Browse the repository at this point in the history
…ning-translation-key-if-value-is-missing

Prevent returning translation key if a value is missing
  • Loading branch information
ezewer authored Oct 24, 2024
2 parents d43a88f + a1f7ccd commit b304ccb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/i18next/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ const initI18next = () => {
const configs = {
initImmediate: false,
fallbackLng: {
es: ['es-EM'],
pt: ['pt-BR'],
zh: ['zh-CN'],
es: ['es-EM', 'en'],
pt: ['pt-BR', 'en'],
zh: ['zh-CN', 'en'],
default: ['en']
},
lng: _getDefaultLanguage(),
Expand Down

0 comments on commit b304ccb

Please sign in to comment.