Rename pt-BR locale to pt to match project convention

All existing locales use two-letter codes (ar, en, es, fr, nl) and the
crowdin.yml output path uses %two_letters_code% — using pt-BR would
conflict with any future Crowdin-imported Portuguese.

The display name stays 'Portuguese (Brazil)' / 'Português (Brasil)' so
users still see it's the Brazilian dialect.
This commit is contained in:
Felipe Camargo
2026-04-13 08:08:38 -07:00
parent 016a613fd5
commit 6b80bc5b5e
4 changed files with 1 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ export const AVAILABLE_LANGUAGES = [
{ code: 'es', name: 'Spanish', nativeName: 'Español' }, { code: 'es', name: 'Spanish', nativeName: 'Español' },
{ code: 'fr', name: 'French', nativeName: 'Français' }, { code: 'fr', name: 'French', nativeName: 'Français' },
{ code: 'nl', name: 'Dutch', nativeName: 'Nederlands' }, { code: 'nl', name: 'Dutch', nativeName: 'Nederlands' },
{ code: 'pt-BR', name: 'Portuguese (Brazil)', nativeName: 'Português (Brasil)' }, { code: 'pt', name: 'Portuguese (Brazil)', nativeName: 'Português (Brasil)' },
] ]
export const LocalizationProvider = ({ children }) => { export const LocalizationProvider = ({ children }) => {