Skip to content

Default text in sensing and operator blocks always loads in English #5445

@chrisgarrity

Description

@chrisgarrity

Expected Behavior

When the editor loads in a different language (e.g. due to browser language setting), the default text on the ask and text operator blocks should be translated.

Actual Behavior

The default text is in English. Here's an example with the editor loading in Spanish:
screen shot 2018-12-17 at 9 33 31 am
screen shot 2018-12-17 at 9 33 53 am

If you switch to another language, they are translated when the new language loads. Here's the same blocks after switching to Italian:
screen shot 2018-12-17 at 9 37 52 am
screen shot 2018-12-17 at 9 38 15 am

And if you go back to Spanish afterwards, the default text is translated.

Steps to Reproduce

Load the editor in a language other than English, either by setting the language in the browser, or by adding ?locale=es to the URL to set the language (replace es by any language code).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions