# Translate display path in alarm status table

**URL:** <https://forum.inductiveautomation.com/t/translate-display-path-in-alarm-status-table/46450>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [May 6, 2021, 7:47pm UTC](https://forum.inductiveautomation.com/t/translate-display-path-in-alarm-status-table/46450 "2021-05-06T19:47:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sm1](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@sm1](https://forum.inductiveautomation.com/u/sm1)\
**Post date:** [May 6, 2021, 7:47pm UTC](https://forum.inductiveautomation.com/t/translate-display-path-in-alarm-status-table/46450/1 "2021-05-06T19:47:06Z")

</div>

Is it possible to access session.props.locale in a UDT? I’d like to make the display paths in an alarm status table dynamic and translatable.

Currently using Ignition Edge 8.1.5.

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [May 7, 2021, 10:32am UTC](https://forum.inductiveautomation.com/t/translate-display-path-in-alarm-status-table/46450/2 "2021-05-07T10:32:06Z")

</div>

Welcome @sm1,

> [@sm1](#):
>
> Is it possible to access session.props.locale in a UDT?

Unfortunately it's not possible. Tags are Gateway scoped, whereas session props are session scoped.

> [@sm1](#):
>
> I’d like to make the display paths in an alarm status table dynamic and translatable.

Could you elaborate a bit more on what you are trying to do here? 🙂 It sounds like you may want to look more down the root of the filter property on the alarm status table. You could dynamically set this to display the alarms you require.

---

<div class="post-metadata">

**Author:** ![sm1](https://avatars.discourse-cdn.com/v4/letter/s/9de0a6/32.png) [@sm1](https://forum.inductiveautomation.com/u/sm1)\
**Post date:** [May 7, 2021, 1:09pm UTC](https://forum.inductiveautomation.com/t/translate-display-path-in-alarm-status-table/46450/3 "2021-05-07T13:09:11Z")

</div>

I want to translate the display path for my alarms from English to Russian.

Let’s say I want to translate “turbine”, “Number” and “located at” to Russian.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/b/cb1aeddf233d0929078a475d2925747a61c7b669.png)

The translation in Ignition interprets the whole display path as one term. A workaround is to type `translate("Turbine", "ru")`, but I need a way to make the `languageString` argument in `translate()` dynamic, and unique for each session/client. I want something like `translate("Some String", system.util.getLocale())`.

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [May 10, 2021, 6:51pm UTC](https://forum.inductiveautomation.com/t/translate-display-path-in-alarm-status-table/46450/4 "2021-05-10T18:51:04Z")

</div>

Apologies, I understand what you are trying to do now. You do not want to edit the display path at the tag level, as these are Gateway scoped and will update the path for all sessions/clients.

> [@sm1](#):
>
> The translation in Ignition interprets the whole display path as one term.

I see you have already looked at [Localization in Perspective](https://docs.inductiveautomation.com/display/DOC81/Localization+in+Perspective). I haven't played with this too much so I don't know a way around this unfortunately.
