mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 06:22:13 +08:00
I18n: Add Brazilian Portuguese (#84461)
* Add pt-br as supported language * docs * update pt-br path: * docs
This commit is contained in:
@ -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') {
|
||||
|
Reference in New Issue
Block a user