Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions frontend/src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,16 @@ i18n
// init i18next
.init({
resources,
lng: 'pl', // Set Polish as default language
fallbackLng: 'en',
fallbackLng: 'pl', // Set Polish as default language
debug: false,

interpolation: {
escapeValue: false, // not needed for react as it escapes by default
},

detection: {
order: ['localStorage', 'navigator'],
caches: ['localStorage'],
order: ['cookie', 'localStorage', 'navigator'],
Comment thread
tye-exe marked this conversation as resolved.
Outdated
caches: ['localStorage', 'cookie'],
},
});

Expand Down