# Translate plugin: translate array values/use tag instead of field/use wildcard/regex in field

**URL:** https://discuss.elastic.co/t/translate-plugin-translate-array-values-use-tag-instead-of-field-use-wildcard-regex-in-field/46725
**Category:** Logstash
**Created:** [April 7, 2016, 5:52pm UTC](https://discuss.elastic.co/t/translate-plugin-translate-array-values-use-tag-instead-of-field-use-wildcard-regex-in-field/46725 "2016-04-07T17:52:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![CSUMBmWall](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@CSUMBmWall](https://discuss.elastic.co/u/CSUMBmWall)
#### Post date: [April 7, 2016, 5:52pm UTC](https://discuss.elastic.co/t/translate-plugin-translate-array-values-use-tag-instead-of-field-use-wildcard-regex-in-field/46725/1 "2016-04-07T17:52:47Z")

</div>

I have a field with an array of values I need translated. Since  
translate only works on the first value, I renamed all of the fields  
dynamically to input\_["value"]. Now I can't use translate on them  
because it requires a specific field, and I have any number of these  
fields that were once in an array, and are now named according to their  
value.

If I could use translate on an array, could translate according to a  
tag, instead of a field, or if I could use a wildcard/regex/pattern for  
the field value, I would be a happy camper.

Can anyone suggest alternatives? I have several large dictionaries that I will be using with translate.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [April 12, 2016, 6:09pm UTC](https://discuss.elastic.co/t/translate-plugin-translate-array-values-use-tag-instead-of-field-use-wildcard-regex-in-field/46725/2 "2016-04-12T18:09:54Z")

</div>

I think translation of array values sounds like a reasonable feature request for the translate filter.

---

<div class="post-metadata">

### Author: ![CSUMBmWall](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@CSUMBmWall](https://discuss.elastic.co/u/CSUMBmWall)
#### Post date: [April 19, 2016, 3:13pm UTC](https://discuss.elastic.co/t/translate-plugin-translate-array-values-use-tag-instead-of-field-use-wildcard-regex-in-field/46725/3 "2016-04-19T15:13:48Z")

</div>

I'm glad you agree!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 5:01am UTC](https://discuss.elastic.co/t/translate-plugin-translate-array-values-use-tag-instead-of-field-use-wildcard-regex-in-field/46725/4 "2017-07-06T05:01:33Z")

</div>


