# Translate in Expression Tag not working 7.8.2, 7.9.0

**URL:** <https://forum.inductiveautomation.com/t/translate-in-expression-tag-not-working-7-8-2-7-9-0/12585>\
**Category:** Ignition\
**Created:** [January 20, 2017, 5:44pm UTC](https://forum.inductiveautomation.com/t/translate-in-expression-tag-not-working-7-8-2-7-9-0/12585 "2017-01-20T17:44:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesrom](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@cesrom](https://forum.inductiveautomation.com/u/cesrom)\
**Post date:** [January 20, 2017, 5:44pm UTC](https://forum.inductiveautomation.com/t/translate-in-expression-tag-not-working-7-8-2-7-9-0/12585/1 "2017-01-20T17:44:17Z")

</div>

This issue has been discussed before but it has yet to be resolved by Inductive Automation.

See here: [translate in expression tag](https://inductiveautomation.com/forum/viewtopic.php?f=72&t=12982).

I can say for sure that this is a problem on v7.8.2 (b2016030813), and v7.9.0 (b2016101208).

On the Translation Manager I’ve added the Key “Hello” with English (Alternate) se to “Hi”, and Spanish (Mexico) set to “Hola”.

I’ve created an Expression Tag with the following properties:  
Name: Greeting  
Data Type: String  
Enabled: Yes  
Access Rights: Read/Write  
Scan Class: Default

For the Expression I’ve tried all of the following, an all have failed miserably:

translate(‘Hello’)  
toString(translate(‘Hello’))  
toString(translate(‘Hello’), ‘failover’)  
runScript(‘system.util.translate’, 0, ‘Hello’)  
runScript(“system.util.translate(‘Hello’)”)

See attachments.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 20, 2017, 6:13pm UTC](https://forum.inductiveautomation.com/t/translate-in-expression-tag-not-working-7-8-2-7-9-0/12585/2 "2017-01-20T18:13:39Z")

</div>

This doesn’t work in a tag because system.util.translate() and the translate() expression function only exists in the client scope and your expression tag is, presumably, gateway scoped.

The entire translation system only exists in client and designer.
