I18n: Add Brazilian Portuguese (#84461)

* Add pt-br as supported language

* docs

* update pt-br path:

* docs
This commit is contained in:
Josh Hunt
2024-03-21 11:51:30 +00:00
committed by GitHub
parent fc5d323cd5
commit b525de07cd
3 changed files with 32 additions and 9 deletions

View File

@ -4,6 +4,7 @@ export const ENGLISH_US = 'en-US';
export const FRENCH_FRANCE = 'fr-FR';
export const SPANISH_SPAIN = 'es-ES';
export const GERMAN_GERMANY = 'de-DE';
export const BRAZILIAN_PORTUGUESE = 'pt-br';
export const CHINESE_SIMPLIFIED = 'zh-Hans';
export const PSEUDO_LOCALE = 'pseudo-LOCALE';
@ -50,6 +51,12 @@ export const LANGUAGES: LanguageDefinitions[] = [
name: '中文(简体)',
loader: () => import('../../../locales/zh-Hans/grafana.json'),
},
{
code: BRAZILIAN_PORTUGUESE,
name: 'Português Brasileiro',
loader: () => import('../../../locales/pt-BR/grafana.json'),
},
];
if (process.env.NODE_ENV === 'development') {