Interface: ITranslation#

translation.ITranslation

The interface for the Translation service.

Methods#

get#

get(locale): Promise<JSONObject>

Get the translation data for a given locale

Parameters#

Name

Type

Description

locale

string

the locale

Returns#

Promise<JSONObject>

Defined in#

packages/translation/lib/tokens.d.ts:16