Skip to content

Commit e294b9c

Browse files
Pedro31051claude
andauthored
feat(i18n): add Brazilian Portuguese (pt-BR) locale (#810)
Adds a complete pt-BR translation (832 strings, full parity with en) and registers it in the i18n config and language selector. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c1814a2 commit e294b9c

2 files changed

Lines changed: 1244 additions & 0 deletions

File tree

app/src/i18n/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ import LanguageDetector from 'i18next-browser-languagedetector';
33
import { initReactI18next } from 'react-i18next';
44
import en from './locales/en/translation.json';
55
import ja from './locales/ja/translation.json';
6+
import ptBR from './locales/pt-BR/translation.json';
67
import zhCN from './locales/zh-CN/translation.json';
78
import zhTW from './locales/zh-TW/translation.json';
89

910
export const SUPPORTED_LANGUAGES = [
1011
{ code: 'en', label: 'English' },
12+
{ code: 'pt-BR', label: 'Português (Brasil)' },
1113
{ code: 'ja', label: '日本語' },
1214
{ code: 'zh-CN', label: '简体中文' },
1315
{ code: 'zh-TW', label: '繁體中文' },
@@ -21,6 +23,7 @@ i18n
2123
.init({
2224
resources: {
2325
en: { translation: en },
26+
'pt-BR': { translation: ptBR },
2427
ja: { translation: ja },
2528
'zh-CN': { translation: zhCN },
2629
'zh-TW': { translation: zhTW },

0 commit comments

Comments
 (0)