TranslateHelperV1

toloka.client.project.template_builder.helpers.TranslateHelperV1 | Source code

TranslateHelperV1(
self,
key: Optional[Union[BaseComponent, str]] = None,
*,
version: Optional[str] = '1.0.0'
)

Component for translating interface elements to other languages.

In the properties that should be displayed in different languages, add:

{
"type": "helper.translate",
"key": "<key name>"
}

Adding the key property displays a field for entering the key text. Enter the text in the source language. In the "Translations" step, add translations for the keys in the desired languages.

Parameters Description

ParametersTypeDescription
keyOptional[Union[BaseComponent, str]]

The key for a text property that you will translate to other languages.

Toloka-Kit
OverviewGetting OAuth tokenQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming