# i18n keys as display values with value-list filter option

**URL:** <https://forum.servoy.com/t/i18n-keys-as-display-values-with-value-list-filter-option/18090>\
**Category:** Classic Servoy\
**Created:** [July 30, 2014, 8:12am UTC](https://forum.servoy.com/t/i18n-keys-as-display-values-with-value-list-filter-option/18090 "2014-07-30T08:12:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nisalaperera](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nisalaperera](https://forum.servoy.com/u/nisalaperera)\
**Post date:** [July 30, 2014, 8:12am UTC](https://forum.servoy.com/t/i18n-keys-as-display-values-with-value-list-filter-option/18090/1 "2014-07-30T08:12:12Z")

</div>

Hi All,

I have used “Apply valuelist name as filter on column ‘valuelist\_name’” option to populate the value-list in my solution.

In this case, I have used i18n keys (Eg: i18n:mysolution.valuelist1.value1) as display values. But it’s not loading the i18n value properly.

Is it possible to use i18n keys as display values with above implementation?

Servoy Version : Version: 7.4.1 - build 2028

---

<div class="post-metadata">

**Author:** ![pradiptab](https://avatars.discourse-cdn.com/v4/letter/p/cab0a1/32.png) [@pradiptab](https://forum.servoy.com/u/pradiptab)\
**Post date:** [July 30, 2014, 11:02am UTC](https://forum.servoy.com/t/i18n-keys-as-display-values-with-value-list-filter-option/18090/2 "2014-07-30T11:02:10Z")

</div>

Hi Nisala,

You can create an un-stored calculation, which will return the i18n value for the specified i18n key. (I guess you are keeping the i18n key in one of the column of the field)

```auto
// Code for calculation
function calculation_name() {
    return i18n.getI18NMessage(column_name_holding_the_i18n_key);
}

```

Use that calculation as the display field in your valuelist. It will work.

---

<div class="post-metadata">

**Author:** ![nisalaperera](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nisalaperera](https://forum.servoy.com/u/nisalaperera)\
**Post date:** [July 31, 2014, 7:45am UTC](https://forum.servoy.com/t/i18n-keys-as-display-values-with-value-list-filter-option/18090/3 "2014-07-31T07:45:59Z")

</div>

Hi Pradipta,

Thanks for the quick solution. It works perfectly.
