function
extendTranslationLanguage
function extendTranslationLanguage(
base: TranslationLanguage,
options: {
code?: string
label?: string
rtl?: boolean
messages: Readonly<
Partial<Record<keyof CoreTranslationCatalog, TranslationMessage>>
>
},
): TranslationLanguageCreates a complete catalog from a built-in language and typed project overrides.
Related types
TranslationLanguagePublic interface TranslationLanguage from @riducms/translations.
CoreTranslationCatalogPublic type CoreTranslationCatalog from @riducms/translations.
TranslationMessagePublic type TranslationMessage from @riducms/translations.