Skip to main content

useLocalizations

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: React hook
Package: @ovok/core

Import​

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

TypeScript signatures​

(language: string, params?: OvokLocalizationQuery): OvokRequestState<{ total: number; resources: OvokLocalization[]; }>
ParameterTypeDetails
languagestring—
paramsOvokLocalizationQuery—

Returns: OvokRequestState<{ total: number; resources: OvokLocalization[]; }>.

Learn the workflow​

Continue with React for the workflow context and examples.

Source​

View the declaration in the SDK source.