Skip to content

Commit

Permalink
i18next.config: Detect user's locale from NEXT_LOCALE cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
sashko9807 committed Oct 26, 2023
1 parent 4eb581b commit d6e1c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next-i18next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
i18n: {
localeDetection: false,
localeDetection: true,
defaultLocale: 'bg',
locales: ['bg', 'en'],
},
Expand Down

0 comments on commit d6e1c45

Please sign in to comment.