Skip to main content

useTranslations

The translations collection as one tree, in options.locale or else the runtime's language; with tenantCode, readable before sign-in.

Kind: React hook
Package: @ovok/core

Import​

import { useTranslations } from '@ovok/core';

TypeScript signatures​

(options?: OvokCmsOptions): OvokRequestState<OvokTranslations>
ParameterTypeDetails
optionsOvokCmsOptions—

Returns: OvokRequestState<OvokTranslations>.

Learn the workflow​

Continue with React for the workflow context and examples.

Source​

View the declaration in the SDK source.