Translation of default strings

Hello everyone,

I have noticed that many components have default “texts” that are not translated. For example in the Select Date there is a Select Date string and also a bunch of languages to choose, but if the language is not present we cannot change these texts. Sometimes there is English text when input value is Undefined. It causes some problems and we have to enter additional logic to the components. Maybe these strings could be enabled to translation on the editor-side? It would greatly improve the UI of an app.

For the “date and time picker” component there are 2 parts handling text translation:

  1. the lang property in the style settings of the main component, that takes care of automatic translation of the date picker:
    image


    image
    image

  2. the placeholder text that is simply a text component where you can set translations normally:

1 Like

Thanks for that I somehow missed that :flushed:

But still there are some components with non-translateable texts. For example:

Is that the placeholder of the email input? You should be able to set translation for it in the component settings.

Nope. This is regular text component with expression which return “undefined” value.

a text component with a bound value of undefined doesn’t render any text. Maybe the expression evaluates to another text or it’s a text inside another component handled by weweb