missing translation key handling (#987)

This commit is contained in:
Abhinav Kumar 2023-03-21 19:50:42 +05:30 committed by GitHub
commit efb9af9b38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,8 @@ export const setupI18n = async () => {
// init i18next
// for all options read: https://www.i18next.com/overview/configuration-options
.init({
returnEmptyString: false,
fallbackLng: 'en',
lng: getBestPossibleUserLocale(),
interpolation: {
escapeValue: false, // not needed for react as it escapes by default