# Translator problem

**URL:** https://community.thunkable.com/t/translator-problem/1758516
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [February 27, 2022, 9:37pm UTC](https://community.thunkable.com/t/translator-problem/1758516 "2022-02-27T21:37:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![juansg1m](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@juansg1m](https://community.thunkable.com/u/juansg1m)
#### Post date: [February 27, 2022, 9:37pm UTC](https://community.thunkable.com/t/translator-problem/1758516/1 "2022-02-27T21:37:58Z")

</div>

Hello basically I am having this problem when making a translator, I get Invalid parameter: lang. It is only when I change the option from English to another language. I send a photo of my code  
Appreciate the support 😃

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/a/dac2013dd913fdd93a959cb38c07e10185a5d69b.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/b/3bef6a2ee6e8892621d3835becac113cf8b6ee54.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aa7347314084fac217eff967ac4c9f3e1486a6f1.png)

---

<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: [February 27, 2022, 9:50pm UTC](https://community.thunkable.com/t/translator-problem/1758516/2 "2022-02-27T21:50:01Z")

</div>

Hi @juansg1m, welcome to Thunkable!

It works for me if I use your code and “it” for the source language and “en” for the target language:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/f/4fb339b0d619fef381619d99787c24514ea99d61.png)

Project link:

[https://x.thunkable.com/copy/9e11e9fbb0fcffe6f8e5bd9c4d32723d](https://x.thunkable.com/copy/9e11e9fbb0fcffe6f8e5bd9c4d32723d)

---

<div class="post-metadata">

### Author: ![juansg1m](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@juansg1m](https://community.thunkable.com/u/juansg1m)
#### Post date: [February 27, 2022, 9:53pm UTC](https://community.thunkable.com/t/translator-problem/1758516/3 "2022-02-27T21:53:32Z")

</div>

Hello,  
Yes it also works for me in that way, but when I change the language, from it to es(Spanish) the program crashes and say: Invalid parameter long

---

<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: [February 27, 2022, 9:58pm UTC](https://community.thunkable.com/t/translator-problem/1758516/4 "2022-02-27T21:58:28Z")

</div>

There is a problem with these blocks (for both source and target):

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/2/2289582415970a3e8872e60d6eebddab324c6192.png)

You’re getting the **Language** column from the database when you should be getting the **Code** column.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/b/fbdf792ea629c021d0113a56b75f87b91823120c.png)

---

<div class="post-metadata">

### Author: ![juansg1m](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@juansg1m](https://community.thunkable.com/u/juansg1m)
#### Post date: [February 27, 2022, 10:05pm UTC](https://community.thunkable.com/t/translator-problem/1758516/5 "2022-02-27T22:05:52Z")

</div>

YES!! it works, ty I aprecciate 😃

---

<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: [May 28, 2022, 10:06pm UTC](https://community.thunkable.com/t/translator-problem/1758516/6 "2022-05-28T22:06:50Z")

</div>

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