Browse Source

Merge branch 'feature/i18n' into development

development
Nareshkumar Rao 3 years ago
parent
commit
a72685509f
  1. 3
      .env.template
  2. 2
      src/i18n.js

3
.env.template

@ -1,4 +1,5 @@
REACT_APP_API_URL= REACT_APP_API_URL=
REACT_APP_TELEGRAM_BOT_NAME= REACT_APP_TELEGRAM_BOT_NAME=
# REACT_APP_DONATE_LINK=
# REACT_APP_DONATE_LINK=
REACT_APP_I18N_DEBUG=true

2
src/i18n.js

@ -28,7 +28,7 @@ i18n.use(initReactI18next).init({
interpolation: { interpolation: {
escapeValue: false, escapeValue: false,
}, },
debug: true,
debug: process.env.REACT_APP_I18N_DEBUG === "true" ? true : false,
}); });
export default i18n; export default i18n;

Loading…
Cancel
Save