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 |
|---|---|---|
|
|
the locale |
Returns¶
Promise<JSONObject>
Defined in¶
packages/translation/lib/tokens.d.ts:16