Interface: ITranslation#

@jupyterlite/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/src/tokens.ts:20