Default to browser language

This commit is contained in:
Alex Gleason committed 2025-09-19 14:47:14 -05:00
1 parent 350f3b3c5e
commit 4ad3c7367d
6 files changed
+19 -12

No files matched your search

+3 -1
View File
@@ -33,6 +33,7 @@ const resources = {
english: 'English',
portuguese: 'Portuguese',
chinese: 'Chinese',
systemLanguage: 'System',
// Theme Options
light: 'Light',
@@ -283,6 +284,7 @@ const resources = {
english: 'Inglês',
portuguese: 'Português',
chinese: 'Chinês',
systemLanguage: 'Sistema',
// Theme Options
light: 'Claro',
@@ -533,6 +535,7 @@ const resources = {
english: 'English',
portuguese: 'Português',
chinese: '中文',
systemLanguage: '系统',
// Theme Options
light: '浅色',
@@ -760,7 +763,6 @@ i18n
.use(initReactI18next)
.init({
resources,
lng: 'en', // Default language
fallbackLng: 'en',
interpolation: {
escapeValue: false, // React already escapes values