Skip to main content

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
ParameterTypeDetails
languagestring | null—

Returns: OvokCmsLocale.

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.