15 lines
664 B
TypeScript
15 lines
664 B
TypeScript
/**
|
|
* The UI locales that actually ship — regional BCP 47 tags, per docs/localization.md D2. This is the
|
|
* one list `I18nBridge` merges catalogs for and `Languages.tsx` offers for UI localization; it is
|
|
* deliberately separate from the broader "languages you speak" / "translate to" lists, which are a
|
|
* different feature (see the doc's open question 4) and are not limited to locales with a catalog.
|
|
*/
|
|
export type ShippedLocale = { code: string; label: string };
|
|
|
|
export const SHIPPED_LOCALES: ShippedLocale[] = [
|
|
{ code: 'en-GB', label: 'English (UK)' },
|
|
{ code: 'pt-PT', label: 'Português (Portugal)' },
|
|
];
|
|
|
|
export const FALLBACK_LOCALE = 'en-GB';
|