# Translations on popup elements not working

**URL:** <https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [May 20, 2019, 12:36pm UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150 "2019-05-20T12:36:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![enrico.merlo](https://avatars.discourse-cdn.com/v4/letter/e/b77776/32.png) [@enrico.merlo](https://forum.inductiveautomation.com/u/enrico.merlo)\
**Post date:** [May 20, 2019, 12:36pm UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150/1 "2019-05-20T12:36:19Z")

</div>

Hi,  
I have some popups displaying some text; I have inserted these texts in the translation manager, but none is translated by the system when language is changed.  
Any guess?  
Thanks!

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [May 20, 2019, 2:04pm UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150/2 "2019-05-20T14:04:44Z")

</div>

Because of the way we need to build some of the text you see, the translation string you need may not be what you expect. If you can give me more details I can see if that’s the case here.

---

<div class="post-metadata">

**Author:** ![enrico.merlo](https://avatars.discourse-cdn.com/v4/letter/e/b77776/32.png) [@enrico.merlo](https://forum.inductiveautomation.com/u/enrico.merlo)\
**Post date:** [May 21, 2019, 9:03am UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150/3 "2019-05-21T09:03:22Z")

</div>

This is the popup:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/28a7d7241fbeb838ddb89ca2d29c0d2e8d840694.png)

The text I would like to translate is the highlighted one. It is the key value I have in the translation manager and it has the ‘@’ at the beginning in order to discriminate it from its italian version (I have also tried with no special character, but the problem persists).  
When selecting diffrent languages between the ones designed, the text is not updated.

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [May 21, 2019, 2:45pm UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150/4 "2019-05-21T14:45:08Z")

</div>

Oh, so this is text you supplied to the popup window, rather than a popup generated by us?

In that case, wrap your text in [system.util.translate()](https://docs.inductiveautomation.com/display/DOC80/system.util.translate) and it will use your translation. We don’t automatically translate text you provide because we don’t know if that’s your intention.

---

<div class="post-metadata">

**Author:** ![enrico.merlo](https://avatars.discourse-cdn.com/v4/letter/e/b77776/32.png) [@enrico.merlo](https://forum.inductiveautomation.com/u/enrico.merlo)\
**Post date:** [May 22, 2019, 7:30am UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150/5 "2019-05-22T07:30:12Z")

</div>

Ok, so I need to run a script to do what you suggest, right? (The text is written in the text property of the _Text Field_ component in the desinger, not passed in by a script).  
In any case, I don’t understand the different behaviour between a text in a popup and another in a ‘normal’ main page, which is always translated by the manager, without using the script function.

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [May 22, 2019, 2:35pm UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150/6 "2019-05-22T14:35:11Z")

</div>

Okay, I see what’s going on now, and I don’t understand why the behavior is different, either, especially since it’s only happening to me sometimes. 😳 I’ll make a ticket to get this fixed.

In the mean time, since it looks like this is a label that’s bound to your text field, a work around would be to change this to an expression. So if your binding is `{Root Container.Text Field.text}`, change it to an expression of `translate({Root Container.Text Field.text})`.

---

<div class="post-metadata">

**Author:** ![enrico.merlo](https://avatars.discourse-cdn.com/v4/letter/e/b77776/32.png) [@enrico.merlo](https://forum.inductiveautomation.com/u/enrico.merlo)\
**Post date:** [May 24, 2019, 6:19am UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150/7 "2019-05-24T06:19:21Z")

</div>

I used your workaround, through another text field, in order to use the binding expression you have shown, as the original TextField label was just a text with no binding property.  
Anyway, I’ve got it working now, so thank you for your help!

I’d like to report another translation issue I had.  
I use some borders texts in my application and of course I have put this texts in the translation manager. When changing the language in the client, these texts are not always translated properly. I have got this working through the script function _system.util.translate(text)_, but maybe it is useful for you to investigate this problem too! 😉

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [May 24, 2019, 3:06pm UTC](https://forum.inductiveautomation.com/t/translations-on-popup-elements-not-working/25150/8 "2019-05-24T15:06:23Z")

</div>

I _thought_ we had all the issues with titled borders tracked down and fixed a while back. If you can give me an export of a window with a component where this isn’t working it would really be helpful, otherwise I’ll have some see if they can replicate it when they get time.
