# Translation is not working on table, chart etc. in Perspective

**URL:** <https://forum.inductiveautomation.com/t/translation-is-not-working-on-table-chart-etc-in-perspective/55903>\
**Category:** Ignition\
**Tags:** ignition80, vision, perspective\
**Created:** [February 9, 2022, 11:29am UTC](https://forum.inductiveautomation.com/t/translation-is-not-working-on-table-chart-etc-in-perspective/55903 "2022-02-09T11:29:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Baris.kose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/baris.kose/32/18991_2.png) [@Baris.kose](https://forum.inductiveautomation.com/u/Baris.kose)\
**Post date:** [February 9, 2022, 11:29am UTC](https://forum.inductiveautomation.com/t/translation-is-not-working-on-table-chart-etc-in-perspective/55903/1 "2022-02-09T11:29:38Z")

</div>

Hello all,

I am trying to want translate my all texts on perspective projects. I am using that way just copy one text from perspective project and translate it. But it doesn’t work on the chart or table without translate() expression.  
 ![Chart](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/968296f923f8e8aec4216968e2edf1a3ba469073.png)  
 ![Table](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/b/1b66be2336c689fa7ba610a23be3b9442d5c4d56.png)

The texts that can’t change is highlighted.

Is there any way to translate them?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 9, 2022, 12:08pm UTC](https://forum.inductiveautomation.com/t/translation-is-not-working-on-table-chart-etc-in-perspective/55903/2 "2022-02-09T12:08:28Z")

</div>

Table headers can be set here

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/5/a5be37320f1c53fd6ff7ea37028f2a46f7a2381d.png)

The pie chart can not be translated unless you change the names in the data

---

<div class="post-metadata">

**Author:** ![Baris.kose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/baris.kose/32/18991_2.png) [@Baris.kose](https://forum.inductiveautomation.com/u/Baris.kose)\
**Post date:** [February 10, 2022, 6:00am UTC](https://forum.inductiveautomation.com/t/translation-is-not-working-on-table-chart-etc-in-perspective/55903/3 "2022-02-10T06:00:18Z")

</div>

But Victor the header.title property doesn’t work with translate functionality too I dont want to use translate() expression function for very single text in my project.  
I want like label component the translation done by ignition core automatically.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 10, 2022, 7:43am UTC](https://forum.inductiveautomation.com/t/translation-is-not-working-on-table-chart-etc-in-perspective/55903/4 "2022-02-10T07:43:55Z")

</div>

ignitions core would use the same function so speed wise it wouldnt be much of a difference.  
It means setting up a bunch of expressions tho.

Tables and charts can be used for many things, translating something from it automatically could be harmful for some uses.

---

<div class="post-metadata">

**Author:** ![Baris.kose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/baris.kose/32/18991_2.png) [@Baris.kose](https://forum.inductiveautomation.com/u/Baris.kose)\
**Post date:** [February 10, 2022, 2:17pm UTC](https://forum.inductiveautomation.com/t/translation-is-not-working-on-table-chart-etc-in-perspective/55903/5 "2022-02-10T14:17:33Z")

</div>

Alrigh. Thank you!

---

<div class="post-metadata">

**Author:** ![Tiezhou\_Duan](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@Tiezhou\_Duan](https://forum.inductiveautomation.com/u/Tiezhou_Duan)\
**Post date:** [August 28, 2024, 8:41pm UTC](https://forum.inductiveautomation.com/t/translation-is-not-working-on-table-chart-etc-in-perspective/55903/6 "2024-08-28T20:41:43Z")

</div>

The reason that some text doesn't get translated is because some of your component somehow doesn't receive the message that your locale has changed. What you need to do is to have a property binding on session.props.locale and write the following script:

```python
	locale = value
	return system.util.translate("your term", locale)

```
