helper.translate

Component for translating interface elements to other languages. More details in Translating the task interface.

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.

Usage example:

{
"view": {
"type": "view.image",
"url": "https://tlkfrontprod.azureedge.net/template-builder-production/static/file-examples/small.png",
"label": {
"type": "helper.translate",
"key": "label-image"
}
}
}

Component properties

NameTypeDescription
type*"helper.translate"Set component type.
key*stringThe key for a text property that you will translate to other languages.
Contact support
Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
Frequently asked questionsTroubleshootingSupportGlossary