Skip to content

Translate text assets

TranslateTextAssetsSetting #

TranslateTextAssetsSetting()

Bases: RapidataSetting

Translates text assets, both options and context (such as the two text options of a compare task), into the annotator's language. Off unless this setting is added: text assets are shown exactly as provided.

The source text is always assumed to be English. Has no effect when OriginalLanguageOnly is also set. Search terms: translation, translate, translated, multilingual, localization, text asset, compare text.

Supported task types: all.

Source code in src/rapidata/rapidata_client/settings/translate_text_assets.py
def __init__(self):
    super().__init__(key="translate_text_assets", value="true")