getTranslations
Get translations. User-only.
Parameters
platform?: string
The platform to get translations for. Defaults to the client’s platform.
language?: string
The language to get translations for. Defaults to the client’s language.
Result
Syntax
// Optional parameters.
// Any of the optional parameters can be omitted.
await client.getTranslations( { platform, language });