mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 19:12:12 +08:00
i18n: exports all language codes (#103580)
This commit is contained in:
@ -9,5 +9,26 @@
|
|||||||
* and be subject to the standard policies
|
* and be subject to the standard policies
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// This is a dummy export so typescript doesn't error importing an "empty module"
|
export {
|
||||||
export { DEFAULT_LANGUAGE, LANGUAGES } from './utils/i18n';
|
DEFAULT_LANGUAGE,
|
||||||
|
LANGUAGES,
|
||||||
|
BRAZILIAN_PORTUGUESE,
|
||||||
|
CHINESE_SIMPLIFIED,
|
||||||
|
CHINESE_TRADITIONAL,
|
||||||
|
CZECH_CZECHIA,
|
||||||
|
DUTCH_NETHERLANDS,
|
||||||
|
ENGLISH_US,
|
||||||
|
FRENCH_FRANCE,
|
||||||
|
GERMAN_GERMANY,
|
||||||
|
HUNGARIAN_HUNGARY,
|
||||||
|
INDONESIAN_INDONESIA,
|
||||||
|
ITALIAN_ITALY,
|
||||||
|
JAPANESE_JAPAN,
|
||||||
|
KOREAN_KOREA,
|
||||||
|
POLISH_POLAND,
|
||||||
|
PORTUGUESE_PORTUGAL,
|
||||||
|
RUSSIAN_RUSSIA,
|
||||||
|
SPANISH_SPAIN,
|
||||||
|
SWEDISH_SWEDEN,
|
||||||
|
TURKISH_TURKEY,
|
||||||
|
} from './utils/i18n';
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
const ENGLISH_US = 'en-US';
|
export const ENGLISH_US = 'en-US';
|
||||||
const FRENCH_FRANCE = 'fr-FR';
|
export const FRENCH_FRANCE = 'fr-FR';
|
||||||
const SPANISH_SPAIN = 'es-ES';
|
export const SPANISH_SPAIN = 'es-ES';
|
||||||
const GERMAN_GERMANY = 'de-DE';
|
export const GERMAN_GERMANY = 'de-DE';
|
||||||
const BRAZILIAN_PORTUGUESE = 'pt-BR';
|
export const BRAZILIAN_PORTUGUESE = 'pt-BR';
|
||||||
const CHINESE_SIMPLIFIED = 'zh-Hans';
|
export const CHINESE_SIMPLIFIED = 'zh-Hans';
|
||||||
const ITALIAN_ITALY = 'it-IT';
|
export const ITALIAN_ITALY = 'it-IT';
|
||||||
const JAPANESE_JAPAN = 'ja-JP';
|
export const JAPANESE_JAPAN = 'ja-JP';
|
||||||
const INDONESIAN_INDONESIA = 'id-ID';
|
export const INDONESIAN_INDONESIA = 'id-ID';
|
||||||
const KOREAN_KOREA = 'ko-KR';
|
export const KOREAN_KOREA = 'ko-KR';
|
||||||
const RUSSIAN_RUSSIA = 'ru-RU';
|
export const RUSSIAN_RUSSIA = 'ru-RU';
|
||||||
const CZECH_CZECHIA = 'cs-CZ';
|
export const CZECH_CZECHIA = 'cs-CZ';
|
||||||
const DUTCH_NETHERLANDS = 'nl-NL';
|
export const DUTCH_NETHERLANDS = 'nl-NL';
|
||||||
const HUNGARIAN_HUNGARY = 'hu-HU';
|
export const HUNGARIAN_HUNGARY = 'hu-HU';
|
||||||
const PORTUGUESE_PORTUGAL = 'pt-PT';
|
export const PORTUGUESE_PORTUGAL = 'pt-PT';
|
||||||
const POLISH_POLAND = 'pl-PL';
|
export const POLISH_POLAND = 'pl-PL';
|
||||||
const SWEDISH_SWEDEN = 'sv-SE';
|
export const SWEDISH_SWEDEN = 'sv-SE';
|
||||||
const TURKISH_TURKEY = 'tr-TR';
|
export const TURKISH_TURKEY = 'tr-TR';
|
||||||
const CHINESE_TRADITIONAL = 'zh-Hant';
|
export const CHINESE_TRADITIONAL = 'zh-Hant';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default language.
|
* Default language.
|
||||||
|
Reference in New Issue
Block a user