How to use translator blocks?

Hello everyone :wave:
So recently i started adding translator blocks but seem to be unable to use them, everytime i use them i get an error saying Invalid parameter: lang when using the corresponding language code.

Here are my blocks:


not working code


working code

These blocks use a dropdown and then set the code from the item var e.g. da or nl.

Now the weird part is that when i use a string block with “nl” it works but when i use the item var it throws an error even tho item correspond to the right language code the string block has wich is nl.

Does anyone know what is going on?

Thanks <3

Can you post a link to your project? It’s hard to troubleshoot without being able to preview it.

Hi @tatiang sure here it is: Thunkable

It is a bit of a mess tho, kinda messing around with some stuff/ideas

Thanks

The problem might be the space before “da”:

1 Like

You’re right @tatiang I didn’t think about that, haha.

Thanks!

1 Like