# Language transition issue

**URL:** <https://discourse.codecombat.com/t/language-transition-issue/10683>\
**Category:** Bugs\
**Created:** [February 23, 2017, 6:01am UTC](https://discourse.codecombat.com/t/language-transition-issue/10683 "2017-02-23T06:01:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Dung](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@David\_Dung](https://discourse.codecombat.com/u/David_Dung)\
**Post date:** [February 23, 2017, 6:01am UTC](https://discourse.codecombat.com/t/language-transition-issue/10683/1 "2017-02-23T06:01:41Z")

</div>

Please have a look at the picture below:

 ![](https://us1.discourse-cdn.com/flex016/uploads/codecombat/original/2X/1/1487d1f17dd224bc32dbd8d49d27b1914cd1d995.PNG)

I’ve looked at the other tutorial and it the code looks perfectly fine. However, when I try to write it - it doesn’t work at all.

Now that I think about it - I recalled some problems when I first started this game.

In addition to this, when I’m in the level selection screen, I went to the settings and changed the Language from Python to Lua, however - when I did, all of the levels that I **have** played before still remains in Python language, and for levels that I have yet to play is turned into **Lua**

And my API layout looks different from what I’ve seen from others too.

I’ve spent over an hour trying to fix this code and even had to cheat and look up the solution online - none of which worked, so I can only assume it’s a bug.

---

<div class="post-metadata">

**Author:** ![druidlord](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/druidlord/32/5818_2.png) [@druidlord](https://discourse.codecombat.com/u/druidlord)\
**Post date:** [February 23, 2017, 6:02pm UTC](https://discourse.codecombat.com/t/language-transition-issue/10683/2 "2017-02-23T18:02:31Z")

</div>

You have to reload the code every time you switch languages. It is is the top left hand corner of your screen and it says “RESTART”, Click that and it will reload your code.

---

<div class="post-metadata">

**Author:** ![David\_Dung](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@David\_Dung](https://discourse.codecombat.com/u/David_Dung)\
**Post date:** [February 24, 2017, 6:25am UTC](https://discourse.codecombat.com/t/language-transition-issue/10683/3 "2017-02-24T06:25:13Z")

</div>

thanks it worked, I can finally play now

---

<div class="post-metadata">

**Author:** ![druidlord](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/druidlord/32/5818_2.png) [@druidlord](https://discourse.codecombat.com/u/druidlord)\
**Post date:** [February 24, 2017, 5:52pm UTC](https://discourse.codecombat.com/t/language-transition-issue/10683/4 "2017-02-24T17:52:57Z")

</div>

Always willing to help 🙂
