function
extendTranslationLanguage
Creates a complete catalog from a built-in language and typed project overrides.
Arguments
| Argument | Type | Description |
|---|---|---|
base | TranslationLanguage | The base value. |
options | { code?: string; label?: string; rtl?: boolean; messages: Readonly< | The options value. |
Returns
The declared result.
TranslationLanguageFull signature
function extendTranslationLanguage(
base: TranslationLanguage,
options: {
code?: string
label?: string
rtl?: boolean
messages: Readonly<
Partial<Record<keyof CoreTranslationCatalog, TranslationMessage>>
>
},
): TranslationLanguageRelated types
TranslationLanguagePublic interface TranslationLanguage from @riducms/translations.
CoreTranslationCatalogPublic type CoreTranslationCatalog from @riducms/translations.
TranslationMessagePublic type TranslationMessage from @riducms/translations.