diff --git a/.env.template b/.env.template index 37c1000..822b7ae 100644 --- a/.env.template +++ b/.env.template @@ -1,4 +1,5 @@ REACT_APP_API_URL= REACT_APP_TELEGRAM_BOT_NAME= -# REACT_APP_DONATE_LINK= \ No newline at end of file +# REACT_APP_DONATE_LINK= +REACT_APP_I18N_DEBUG=true \ No newline at end of file diff --git a/src/i18n.js b/src/i18n.js index 588bd88..5fdff60 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -28,7 +28,7 @@ i18n.use(initReactI18next).init({ interpolation: { escapeValue: false, }, - debug: true, + debug: process.env.REACT_APP_I18N_DEBUG === "true" ? true : false, }); export default i18n;