# \[FEATURE-13837\] Translations

**URL:** <https://forum.inductiveautomation.com/t/feature-13837-translations/24497>\
**Category:** Ignition Early Access\
**Created:** [April 30, 2019, 10:11am UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497 "2019-04-30T10:11:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea.morando](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.morando/32/8039_2.png) [@andrea.morando](https://forum.inductiveautomation.com/u/andrea.morando)\
**Post date:** [April 30, 2019, 10:11am UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/1 "2019-04-30T10:11:10Z")

</div>

Dear all,  
I am currently using the **b2019040718** release.  
what about the translation feature in Perspective? Are there news about this topic?  
The translation feature is a key point to widely deploy our applications.

Thank you in advance for your reply.  
Andrea

---

<div class="post-metadata">

**Author:** ![PerryAJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/perryaj/32/3281_2.png) [@PerryAJ](https://forum.inductiveautomation.com/u/PerryAJ)\
**Post date:** [May 8, 2019, 10:38pm UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/2 "2019-05-08T22:38:45Z")

</div>

Right now there is fundamental support for translations in Perspective, but they aren’t quite useful yet (currently only supported by Buttons and Labels). I’ve added a ticket to prioritize the rollout across all components. I can’t provide a timeline at the moment, but will update when I can.

---

<div class="post-metadata">

**Author:** ![andrea.morando](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.morando/32/8039_2.png) [@andrea.morando](https://forum.inductiveautomation.com/u/andrea.morando)\
**Post date:** [May 10, 2019, 7:01am UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/3 "2019-05-10T07:01:18Z")

</div>

Good morning,  
thank you for your reply. Could you clarify me how to set up the translations for Buttons and Labels?

Thanks.  
Andrea

---

<div class="post-metadata">

**Author:** ![PerryAJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/perryaj/32/3281_2.png) [@PerryAJ](https://forum.inductiveautomation.com/u/PerryAJ)\
**Post date:** [May 10, 2019, 3:30pm UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/4 "2019-05-10T15:30:00Z")

</div>

Hi Andrea,

There is really very little to setup. Basically if you have terms defined for a locale, and the session is set to that locale (`session.props.locale`), then a term matching property value will get swapped with the localized term.

For instance:  
I display the term “food” in `en_us`.  
I add a localization for `es` that maps “food” to “comida”, using the [translation manager](https://docs.inductiveautomation.com/display/DOC79/Creating+Translation+Lists).

Now, on any label being presented, if the default locale (en\_us) text value is “food” and the `session.props.locale` is set to `es`, then the value displayed will be “comida”.

The underlying property value does not change, we simply present the localized version to the user instead of the default `en_us` version.

---

<div class="post-metadata">

**Author:** ![andrea.morando](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.morando/32/8039_2.png) [@andrea.morando](https://forum.inductiveautomation.com/u/andrea.morando)\
**Post date:** [May 10, 2019, 8:44pm UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/5 "2019-05-10T20:44:39Z")

</div>

Thank you for your reply.  
Just a few more questions:

1. Are the “system.util.\*” functions related to translations (like “system.util.modifyTranslation” ) limited to the vision scope or available also in perspective?
2. Does the “session.props.locale” value correspond to the Java locale codes?

Thank you.  
Andrea

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 10, 2019, 9:01pm UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/6 "2019-05-10T21:01:15Z")

</div>

As many of the system.util functions as can be are in the process of being ported over to work in all scopes - possibly 8.0.2, maybe 8.0.3 for those that can be.  
`session.props.locale` is the IETF language tag equivalent of the Java locale: [https://en.wikipedia.org/wiki/IETF\_language\_tag](https://en.wikipedia.org/wiki/IETF_language_tag) - see [https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Locale.html#toLanguageTag()](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Locale.html#toLanguageTag()) for how we map them from Java to JS to send them to the frontend.

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [May 21, 2019, 5:05pm UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/7 "2019-05-21T17:05:39Z")

</div>

This feature was added in the 8.0.2 nightly build that was uploaded today (5/21).

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 10, 2019, 9:53pm UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/8 "2019-09-10T21:53:59Z")

</div>

2 posts were split to a new topic: [[feature-14961]Add system.util.modifyTranslation to GW/Perspective](https://forum.inductiveautomation.com/t/feature-14961-add-system-util-modifytranslation-to-gw-perspective/28157)

---

<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:** [April 28, 2020, 3:38pm UTC](https://forum.inductiveautomation.com/t/feature-13837-translations/24497/9 "2020-04-28T15:38:49Z")

</div>

system.util.modifyTranslation has been added to all scopes in Ignition 8.0.13 and will appear in the nightlies tonight.
