Skip to content

Original language only

OriginalLanguageOnlySetting #

OriginalLanguageOnlySetting()

Bases: RapidataSetting

Display the content in the original language only. Hides the language switch UI from users.

Use this when task content should not be translated: it disables the automatic translation / localization of the content and prevents annotators from switching languages. Search terms: translation, translate, translated, multilingual, localization, localize, i18n, language switch.

Supported task types: all.

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