mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
* I18n: Change locale format to our agreed format * fix test * Build lingui messages files before ci tests
10 lines
368 B
TypeScript
10 lines
368 B
TypeScript
type LocaleIdentifier = `${string}-${string}`;
|
|
|
|
export const ENGLISH_US: LocaleIdentifier = 'en-US';
|
|
export const FRENCH_FRANCE: LocaleIdentifier = 'fr-FR';
|
|
export const SPANISH_SPAIN: LocaleIdentifier = 'es-ES';
|
|
|
|
export const DEFAULT_LOCALE: LocaleIdentifier = ENGLISH_US;
|
|
|
|
export const VALID_LOCALES: LocaleIdentifier[] = [ENGLISH_US, FRENCH_FRANCE, SPANISH_SPAIN];
|