# \[BUG-9453\] Expression "translate" not working

**URL:** <https://forum.inductiveautomation.com/t/bug-9453-expression-translate-not-working/26311>\
**Category:** Ignition Early Access\
**Created:** [July 5, 2019, 8:42am UTC](https://forum.inductiveautomation.com/t/bug-9453-expression-translate-not-working/26311 "2019-07-05T08:42:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tumeksi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tumeksi/32/4697_2.png) [@Tumeksi](https://forum.inductiveautomation.com/u/Tumeksi)\
**Post date:** [July 5, 2019, 8:42am UTC](https://forum.inductiveautomation.com/t/bug-9453-expression-translate-not-working/26311/1 "2019-07-05T08:42:00Z")

</div>

Hi,

I tried to use the “translate” expression in Perspective label-component but it just gives the following error:

```auto
RuntimeException: Unknown function: 'translate'

```

The expression is just:

```auto
translate('Hello')

```

I’m running Ignition version: 8.0.3(b2019070202)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [July 5, 2019, 2:50pm UTC](https://forum.inductiveautomation.com/t/bug-9453-expression-translate-not-working/26311/2 "2019-07-05T14:50:25Z")

</div>

This seems to be a long-standing known issue, stemming from the fact that the expression executing on the Gateway “scope” (like everything Perspective), but the Gateway has no defined locale. When used in Vision, the `translate(stringKey)` expression works as intended because it’s using the defined locale of the client (or Designer).

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [July 5, 2019, 3:16pm UTC](https://forum.inductiveautomation.com/t/bug-9453-expression-translate-not-working/26311/3 "2019-07-05T15:16:04Z")

</div>

+1  
It will be usefull to have access to a function such as **system.util.translate(term)** in the gateway scope.  
We have some needs to translate terms for the reports.
