Skip to content

Commit

Permalink
Fix i18n detection 2
Browse files Browse the repository at this point in the history
  • Loading branch information
lil5 committed Nov 17, 2023
1 parent 55c350a commit 0a92b6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/i18n.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ i18n
supportedLngs: languages,
fallbackLng: "en",
debug: false,
detection: {},
detection: {
order: ["localStorage", "navigator", "path", "cookie"],
caches: ["localStorage"],
},
interpolation: {
escapeValue: false,
},
Expand Down

0 comments on commit 0a92b6c

Please sign in to comment.