# Perspective - Language translation trouble - Language does not change when locale code is changed

**URL:** <https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 27, 2023, 9:33am UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957 "2023-04-27T09:33:10Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANWESHA\_GUPTA1](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@ANWESHA\_GUPTA1](https://forum.inductiveautomation.com/u/ANWESHA_GUPTA1)\
**Post date:** [April 27, 2023, 9:33am UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/1 "2023-04-27T09:33:10Z")

</div>

Hey All,  
I have a requirement to translate the HMI texts into Spanish/Portuguese/French and Italian. So after watching the videos,

1. I have translated the texts from one particular page and stored the translations in the translation manager.  

2. I have then created a dropdown using which i tried to change the locale property to  
'es' for 'Spanish' and -'en-GB' for English.  

3. I can see that the locale property changes when I select the Spanish option. But the language is not changing on the texts in the screen in designer or on runtime.

Can anyone tell me what is happening? Is there anything else I am missing?

---

<div class="post-metadata">

**Author:** ![Joe\_Seph](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_seph/32/40277_2.png) [@Joe\_Seph](https://forum.inductiveautomation.com/u/Joe_Seph)\
**Post date:** [May 9, 2023, 9:30pm UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/2 "2023-05-09T21:30:23Z")

</div>

Hi Anwesha,

It looks like you are using Perspective; are you changing the locale property of the Perspective session itself? I am Curious if 'es' is a recognized locale. You can read more on this user manual page to double check your configuration:  
[https://docs.inductiveautomation.com/display/DOC81/Localization+in+Perspective](https://docs.inductiveautomation.com/display/DOC81/Localization+in+Perspective)

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [May 9, 2023, 9:58pm UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/3 "2023-05-09T21:58:09Z")

</div>

Here is a list of Spanish locale codes:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4e7e4a5469fcca33ac81ea36501dc591c2401fbe.png)

---

<div class="post-metadata">

**Author:** ![ANWESHA\_GUPTA1](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@ANWESHA\_GUPTA1](https://forum.inductiveautomation.com/u/ANWESHA_GUPTA1)\
**Post date:** [May 11, 2023, 11:33am UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/4 "2023-05-11T11:33:19Z")

</div>

Hi Joe,

Yes I am changing the locale property of the perspective session itself. Still no changes. However as suggested 'es' may not be a correct locale code. I will try other as suggested below and get back.

---

<div class="post-metadata">

**Author:** ![ANWESHA\_GUPTA1](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@ANWESHA\_GUPTA1](https://forum.inductiveautomation.com/u/ANWESHA_GUPTA1)\
**Post date:** [May 12, 2023, 1:17pm UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/5 "2023-05-12T13:17:08Z")

</div>

I tried using/changing the locale codes as suggested above. Still no change. Not sure what is going wrong.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/446fa5e3a6bebada65ca62cc8ab698ccd9c38fd6.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/9/997c1c891a52947b0f7e76a4efe100fb373f8259.png)  
Even though it is changing the sessions property the translation is not taking place at all.

---

<div class="post-metadata">

**Author:** ![Martial\_Wilbert](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Martial\_Wilbert](https://forum.inductiveautomation.com/u/Martial_Wilbert)\
**Post date:** [August 22, 2023, 2:50pm UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/6 "2023-08-22T14:50:44Z")

</div>

Hi,  
Have you solve this issue please ?

Thx,

Martial

---

<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:** [August 22, 2023, 3:42pm UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/7 "2023-08-22T15:42:14Z")

</div>

This appears to be a languishing thread. Instead of asking if the other user resolved their issue, could you please provide insight into your specific issue? What locale code are you supplying within a running session? Could you provide a screenshot of the Translation Manager entry for the text which is not being translated? Could you provide a screenshot of the running Session with a focus on where some text is not using the saved translation for the given locale?

---

<div class="post-metadata">

**Author:** ![ANWESHA\_GUPTA1](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@ANWESHA\_GUPTA1](https://forum.inductiveautomation.com/u/ANWESHA_GUPTA1)\
**Post date:** [August 23, 2023, 4:25am UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/8 "2023-08-23T04:25:56Z")

</div>

Hi,  
Yes. Installing Ignition Version 8.1.20 sorted it out. Also I have a separate ticket with Ignition open for some Translations for Powercharts.

---

<div class="post-metadata">

**Author:** ![Sayantan\_Chatterjee](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Sayantan\_Chatterjee](https://forum.inductiveautomation.com/u/Sayantan_Chatterjee)\
**Post date:** [April 18, 2024, 10:39am UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/9 "2024-04-18T10:39:13Z")

</div>

@justinedwards.jle Where Can we get these codes? need for Romania

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [April 18, 2024, 11:58am UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/10 "2024-04-18T11:58:02Z")

</div>

> [@Sayantan\_Chatterjee](#):
>
> need for Romania

`ro`

This was the top hit when I put it into my phone's browser:

> **[Language Codes](https://www.science.co.il/language/Locale-codes.php)**
>
> Sortable list of Language codes.

---

<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:** [April 18, 2024, 4:43pm UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/11 "2024-04-18T16:43:46Z")

</div>

Actually, I suspect @Sayantan_Chatterjee would want to use `ro-RO`, ased on the locale codes provided [here](https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html#util-text:~:text=pt%2DPT(***)-,Romanian%20(ro),-Romania%20(RO)). The [documentation](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/working-with-perspective-components/localization-in-perspective) has a helpful link pointing to supported locales.

---

<div class="post-metadata">

**Author:** ![Sayantan\_Chatterjee](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Sayantan\_Chatterjee](https://forum.inductiveautomation.com/u/Sayantan_Chatterjee)\
**Post date:** [April 19, 2024, 5:52am UTC](https://forum.inductiveautomation.com/t/perspective-language-translation-trouble-language-does-not-change-when-locale-code-is-changed/72957/12 "2024-04-19T05:52:57Z")

</div>

Yeah. I got it. Thanks
