Skip to main content

CompanyTranslations

Returns a translations object of translations configured in the learning instance.

CompanyTranslations(
namespace: TranslationNamespace!
): [TranslationsList!]!

Arguments

CompanyTranslations.namespace ● TranslationNamespace! non-null enum

The namespace is used to specify the content category for the translations. Accepts values of lms for platform content and emails for email content.

Type

TranslationsList object

Examples

Run in Postman

Query:

CompanyTranslations($namespace: TranslationNamespace!) {
CompanyTranslations(namespace: $namespace) {
id
lang
translations
}
}

Variables:

{
"namespace": "lms"
}

Response:

{
"data": {
"CompanyTranslations": [
{
"id": "58ccb96c-8e90-4464-86e0-f284442981df",
"lang": "abc123",
"translations": "{}"
}
]
}
}