@frontify/fondue
Version:
Design system of Frontify
10 lines (9 loc) • 447 B
TypeScript
import { Locale } from 'date-fns';
import { enUS } from './en-US';
export type TranslationStrings = typeof enUS.translationStrings;
export type LocaleConfig = {
translationStrings: TranslationStrings;
dateLocale: Locale;
};
export declare const availableLocales: readonly ["en-US", "de-DE", "de-CH", "fr-FR", "fr-CH", "it-IT", "it-CH", "es-ES", "pt-PT", "nl-NL", "pl-PL"];
export type LocaleIdentifier = (typeof availableLocales)[number];