feat(i18n): add Brazilian Portuguese (pt-BR) locale

This commit is contained in:
filpgame
2026-05-05 10:49:35 -03:00
parent ee7de6f6a1
commit 375f51285b
2 changed files with 2294 additions and 3 deletions
+7 -3
View File
@@ -8,6 +8,7 @@ import deTranslations from './locales/de.json';
import ruTranslations from './locales/ru.json'; import ruTranslations from './locales/ru.json';
import ptTranslations from './locales/pt.json'; import ptTranslations from './locales/pt.json';
import nlTranslations from './locales/nl.json'; import nlTranslations from './locales/nl.json';
import ptBrTranslations from './locales/pt-br.json';
i18n i18n
.use(HttpBackend) .use(HttpBackend)
@@ -33,19 +34,22 @@ i18n
nl: { nl: {
translation: nlTranslations, translation: nlTranslations,
}, },
'pt-BR': {
translation: ptBrTranslations,
},
}, },
interpolation: { interpolation: {
escapeValue: false, escapeValue: false,
}, },
// Use v4 format for pluralization (_one/_other instead of _plural suffix) // Use v4 format for pluralization (_one/_other instead of _plural suffix)
compatibilityJSON: 'v4', compatibilityJSON: 'v4',
detection: { detection: {
order: ['localStorage', 'cookie', 'navigator', 'htmlTag'], order: ['localStorage', 'cookie', 'navigator', 'htmlTag'],
caches: ['localStorage', 'cookie'], caches: ['localStorage', 'cookie'],
}, },
}); });
export default i18n; export default i18n;
File diff suppressed because it is too large Load Diff