# \[Solved\] Button Click event with Screen Translator, causes the screen to disappear

**URL:** <https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567>\
**Category:** Questions about Thunkable X\
**Tags:** solved, translate\
**Created:** [December 14, 2020, 9:45am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567 "2020-12-14T09:45:05Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![flicksdem9](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@flicksdem9](https://community.thunkable.com/u/flicksdem9)\
**Post date:** [December 14, 2020, 9:45am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/1 "2020-12-14T09:45:05Z")

</div>

Hi as the title states, when I press a button the whole screen disappears for some reason and i cant figure out why

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [December 14, 2020, 10:06am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/2 "2020-12-14T10:06:33Z")

</div>

This is a very common problem. Some common issues:

1. Referencing uninitilized variables (very common with stored variables when cache has been cleared)
2. Referring to object properties which do not exist
3. Referencing list items that are missing or have not been initilized
4. Drawing Map elements (polygons, lines, and markers) where the latitude or longitude are string variables (even if the contents are numeric) or Title/Descriptiosn which are numeric.
5. Referencing cloud variables / Firebase when authentication has expired

It will be easier to give more specific advice if you can you share a screen shots of the blocks in the button click event.

---

<div class="post-metadata">

**Author:** ![flicksdem9](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@flicksdem9](https://community.thunkable.com/u/flicksdem9)\
**Post date:** [December 14, 2020, 10:21am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/3 "2020-12-14T10:21:18Z")

</div>

![](https://i.imgur.com/yHpaW1D.png)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [December 14, 2020, 10:38am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/4 "2020-12-14T10:38:18Z")

</div>

I would try debugging it like this

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/c/dcb8d895175e8cc2871ec2139648ddba7ad45baa.png)

---

<div class="post-metadata">

**Author:** ![flicksdem9](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@flicksdem9](https://community.thunkable.com/u/flicksdem9)\
**Post date:** [December 14, 2020, 10:55am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/5 "2020-12-14T10:55:59Z")

</div>

I did exactly what you did there and the screen still disappears

---

<div class="post-metadata">

**Author:** ![aaminahmansuri59h](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/aaminahmansuri59h/32/89753_2.png) [@aaminahmansuri59h](https://community.thunkable.com/u/aaminahmansuri59h)\
**Post date:** [December 14, 2020, 11:17am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/6 "2020-12-14T11:17:10Z")

</div>

I think you have to share your project link.

---

<div class="post-metadata">

**Author:** ![flicksdem9](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@flicksdem9](https://community.thunkable.com/u/flicksdem9)\
**Post date:** [December 14, 2020, 11:23am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/7 "2020-12-14T11:23:32Z")

</div>

> **[Thunkable](https://x.thunkable.com/copy/632ffc0723194b1e1525e69112faf5e9)**

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [December 14, 2020, 11:47am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/8 "2020-12-14T11:47:49Z")

</div>

If you remove ALL of the blocks from the THEN DO section, does the app still crash?

---

<div class="post-metadata">

**Author:** ![flicksdem9](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@flicksdem9](https://community.thunkable.com/u/flicksdem9)\
**Post date:** [December 14, 2020, 11:52am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/9 "2020-12-14T11:52:42Z")

</div>

No it doesn’t crash

---

<div class="post-metadata">

**Author:** ![flicksdem9](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@flicksdem9](https://community.thunkable.com/u/flicksdem9)\
**Post date:** [December 14, 2020, 11:58am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/10 "2020-12-14T11:58:52Z")

</div>

Sorry yes it does

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [December 14, 2020, 11:59am UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/11 "2020-12-14T11:59:41Z")

</div>

Sharing the project makes it a LOT easier to debug, thanks!

I think the problem is with the target language property you use. If I set the TargetLanguage of the Translator to an unknown language (SMURF), the app crashes and the screen goes blank.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/5/c5ace0c47e82159a324666881b8cddb1c798a361.png)

But if I switch it to a known language (BOSNIAN) it works.

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

The languages you listed are in Title case (Vietnamese), but the Translate block requires all UPPER case. If you change the capitalization to upper case when you sent the language, it works

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

I hope this helps and Happy Thunking!

_NOTE: I modified the title a little to include the translator block_

---

<div class="post-metadata">

**Author:** ![flicksdem9](https://avatars.discourse-cdn.com/v4/letter/f/ee7513/32.png) [@flicksdem9](https://community.thunkable.com/u/flicksdem9)\
**Post date:** [December 14, 2020, 12:19pm UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/12 "2020-12-14T12:19:20Z")

</div>

thank you very much!!!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:19pm UTC](https://community.thunkable.com/t/solved-button-click-event-with-screen-translator-causes-the-screen-to-disappear/1035567/13 "2024-11-08T12:19:44Z")

</div>


