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>
| Parameter | Type | Details |
|---|---|---|
options | OvokCmsOptions | — |
Returns: OvokRequestState<OvokTranslations>.
Learn the workflow
Continue with React for the workflow context and examples.