# How to use translator blocks?

**URL:** https://community.thunkable.com/t/how-to-use-translator-blocks/3403783
**Category:** Questions about Thunkable X
**Created:** [December 10, 2024, 10:21am UTC](https://community.thunkable.com/t/how-to-use-translator-blocks/3403783 "2024-12-10T10:21:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)
#### Post date: [December 10, 2024, 10:21am UTC](https://community.thunkable.com/t/how-to-use-translator-blocks/3403783/1 "2024-12-10T10:21:28Z")

</div>

Hello everyone 👋  
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:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/0/d06489472458690839f396d004fddd1b202682e3.png)  
not working code

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/1/f1c89890862ede705e3392f7f3c561b20b326ed6.png)  
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

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [December 10, 2024, 3:03pm UTC](https://community.thunkable.com/t/how-to-use-translator-blocks/3403783/2 "2024-12-10T15:03:35Z")

</div>

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

---

<div class="post-metadata">

### Author: ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)
#### Post date: [December 10, 2024, 6:57pm UTC](https://community.thunkable.com/t/how-to-use-translator-blocks/3403783/3 "2024-12-10T18:57:25Z")

</div>

Hi @tatiang sure here it is: [Thunkable](https://x.thunkable.com/projectPage/67556e896d2d4eaf0483d764)

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

Thanks

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [December 10, 2024, 11:31pm UTC](https://community.thunkable.com/t/how-to-use-translator-blocks/3403783/4 "2024-12-10T23:31:22Z")

</div>

The problem might be the space before “da”:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/7/8700bf5f5f2fd870e1669d65d755f3e3507dd8c3.png)

---

<div class="post-metadata">

### Author: ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)
#### Post date: [December 11, 2024, 6:06am UTC](https://community.thunkable.com/t/how-to-use-translator-blocks/3403783/5 "2024-12-11T06:06:20Z")

</div>

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

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [March 11, 2025, 6:06am UTC](https://community.thunkable.com/t/how-to-use-translator-blocks/3403783/6 "2025-03-11T06:06:45Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
