toCmsLocale
The CMS locale for an app language: "de-DE" and "de_CH" read "de"; a language the CMS doesn't carry reads its default, "en".
Kind: Function
Package: @ovok/core
Import
import { toCmsLocale } from '@ovok/core';
TypeScript signatures
(language?: string | null): OvokCmsLocale
| Parameter | Type | Details |
|---|---|---|
language | string | null | — |
Returns: OvokCmsLocale.
Learn the workflow
Continue with Client Configuration for the workflow context and examples.