Skip to content

Commit

Permalink
feat: standardized pt_BR for brazilian portuguese
Browse files Browse the repository at this point in the history
  • Loading branch information
nomadbitcoin committed Jul 16, 2024
1 parent 8051132 commit ecd8323
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ const queryParameterLangDetector = {
},
}

import pt from './public/locales/pt/translation.json'
import pt_BR from './public/locales/pt_BR/translation.json'
import en from './public/locales/en/translation.json'

const resource = {
en: {
translation: en,
},
pt: {
translation: pt,
pt_BR: {
translation: pt_BR,
},
}

Expand Down
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
i18n: {
locales: ['en', 'pt'],
locales: ['en', 'pt_BR'],
defaultLocale: 'en',
localeDetection: true, // Turn off automatic locale detection
},
Expand Down
File renamed without changes.

0 comments on commit ecd8323

Please sign in to comment.