# Language Translation - In perspective, how to populate all translation terms in a dropdown?

**URL:** <https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 10, 2023, 7:02am UTC](https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120 "2023-07-10T07:02:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rohit\_Das](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@Rohit\_Das](https://forum.inductiveautomation.com/u/Rohit_Das)\
**Post date:** [July 10, 2023, 7:02am UTC](https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120/1 "2023-07-10T07:02:42Z")

</div>

Is there a way to populate all the translation terms in translation manager in UI, like in a dropdwn component or a table?

---

<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:** [July 10, 2023, 8:23am UTC](https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120/2 "2023-07-10T08:23:50Z")

</div>

if its not filled through a binding you can probably adapt this to find everything across all your resources:

> [@Export all component text used in Ignition](https://forum.inductiveautomation.com/t/export-all-component-text-used-in-ignition/53668/4):
>
> Here is a script i used to automatically add all text values to the translate manager in perspective By checking the resource files… warning this may take a while xd import os import json from com.inductiveautomation.ignition.gateway import IgnitionGateway from com.inductiveautomation.ignition.gateway.script import GatewaySystemUtilities package = IgnitionGateway.get().getLocalizationManager().loadFullPackage() oldKeys = package.getAvailableKeys() context = IgnitionGateway.get() path…

here it looks for text, but you could look for "label" too probably.

> [@Export all component text used in Ignition](https://forum.inductiveautomation.com/t/export-all-component-text-used-in-ignition/53668/4):
>
> `for x in json_extract(json.loads(open(root + '/view.json').read()), 'text'):`

idk how table translation works though.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [July 10, 2023, 11:58am UTC](https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120/3 "2023-07-10T11:58:38Z")

</div>

Hi @Rohit_Das,  
keep a look at this exchange resource

> **[Ignition Exchange](https://inductiveautomation.com/exchange/2444/overview)**
>
> Discover, share, and download community made Ignition resources in collaboration with your organization or the Ignition community.

A update will be made in a few that to allow what you want to do.

Regards

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [July 12, 2023, 5:33am UTC](https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120/4 "2023-07-12T05:33:48Z")

</div>

Hi @Rohit_Das,

The following resource is live on the exchange and include a search function for translatable terms.

> **[Ignition Exchange](https://inductiveautomation.com/exchange/2444/overview)**
>
> Discover, share, and download community made Ignition resources in collaboration with your organization or the Ignition community.

This use the script of @victordcq with light modifications (Thank for that script victor).

Regards

---

<div class="post-metadata">

**Author:** ![Rohit\_Das](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@Rohit\_Das](https://forum.inductiveautomation.com/u/Rohit_Das)\
**Post date:** [July 20, 2023, 9:49am UTC](https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120/5 "2023-07-20T09:49:02Z")

</div>

Is this going to work in Ignition 8.1.20?  
Because when I imported this and try to open a view its showing error : 'Unable to deserialize resource'

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [July 20, 2023, 1:54pm UTC](https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120/6 "2023-07-20T13:54:57Z")

</div>

I will try on 8.1.20 and i will let you know the result

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [July 20, 2023, 5:29pm UTC](https://forum.inductiveautomation.com/t/language-translation-in-perspective-how-to-populate-all-translation-terms-in-a-dropdown/76120/7 "2023-07-20T17:29:18Z")

</div>

Hi @Rohit_Das,

It's working for me. Here are the steps to follow:

1. Download latest version of resource on Exchange
2. Unzip the downloaded zip file
3. Import into your project the zip file contained in the Project folder. Even if the folder is called Project this need to be imported in an existing project and not as a new project.

Hope this helps

Regard

Arnaud
