diff --git a/src/i18n.js b/src/i18n.js index 69e00d0..5ff1819 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -17,11 +17,13 @@ i18n // for all options read: https://www.i18next.com/overview/configuration-options .init({ fallbackLng: 'en', + supportedLngs: ['en', 'kn'], detection: { // adds some caching - order: ['querystring', 'cookie', 'localStorage', 'navigator', 'htmlTag', 'path', 'subdomain'], - caches: ['localStorage', 'cookie'], + order: ['querystring', 'cookie', 'navigator', 'htmlTag', 'path', 'subdomain'], + caches: ['cookie'], // Removed 'localStorage' to address Vivaldi mobile issue, kept 'cookie' + load: 'languageOnly' }, - debug: true, + debug: false, }); export default i18n; \ No newline at end of file