# Translation text in place holder

**URL:** <https://community.silverfin.com/t/translation-text-in-place-holder/1793>\
**Category:** Templates\
**Created:** [May 21, 2020, 1:09pm UTC](https://community.silverfin.com/t/translation-text-in-place-holder/1793 "2020-05-21T13:09:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flora](https://avatars.discourse-cdn.com/v4/letter/f/9de0a6/32.png) [@Flora](https://community.silverfin.com/u/Flora)\
**Post date:** [May 21, 2020, 1:09pm UTC](https://community.silverfin.com/t/translation-text-in-place-holder/1793/1 "2020-05-21T13:09:45Z")

</div>

Hi there,  
I’d like to know how to enable translation function for a placeholder text.

For example,  
{% input custom.a.comment as:text placeholder:“Add comments” %}  
I’d like to translate the word “Add comments” to french, when I choose the template language in “french”.

Thanks,

---

<div class="post-metadata">

**Author:** ![borjaGonzalez](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/borjagonzalez/32/825_2.png) [@borjaGonzalez](https://community.silverfin.com/u/borjaGonzalez)\
**Post date:** [May 21, 2020, 1:34pm UTC](https://community.silverfin.com/t/translation-text-in-place-holder/1793/2 "2020-05-21T13:34:05Z")

</div>

> [@Flora](#):
>
> {% input custom.a.comment as:text placeholder:“Add comments” %}

Hi Flora,

The following code should work:

```auto
{% t= "key_test" en:"English text" fr:"French text" %}

{% capture placeholder_default %}{% t "key_test" %}{% endcapture %}

{% input custom.this.note as:text placeholder:placeholder_default %}

```

Any questions, please let us know.

Best,  
Borja

---

<div class="post-metadata">

**Author:** ![Flora](https://avatars.discourse-cdn.com/v4/letter/f/9de0a6/32.png) [@Flora](https://community.silverfin.com/u/Flora)\
**Post date:** [May 28, 2020, 5:52pm UTC](https://community.silverfin.com/t/translation-text-in-place-holder/1793/3 "2020-05-28T17:52:17Z")

</div>

Got it, thanks Borja
