# Site text interpolation values?

**URL:** <https://meta.discourse.org/t/site-text-interpolation-values/308630>\
**Category:** Support\
**Created:** [May 19, 2024, 9:17pm UTC](https://meta.discourse.org/t/site-text-interpolation-values/308630 "2024-05-19T21:17:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Post date:** [May 19, 2024, 9:17pm UTC](https://meta.discourse.org/t/site-text-interpolation-values/308630/1 "2024-05-19T21:17:01Z")

</div>

Where do we find the default values of some of the interpolation keys? An override we had on some customized text randomly stopped working, and I see that the old interpolation values are now no longer available.

While trying to adjust the text to use the new values, I see there’s no way for me to tell what those values are.

I’d love to know _all_ interpolation values for posterity, but for the short term, I’m trying to modify `discourse_welcome_topic.body` and would know to know the values for:

- `site_info_quote`
- `feedback_category`

---

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [May 19, 2024, 9:29pm UTC](https://meta.discourse.org/t/site-text-interpolation-values/308630/2 "2024-05-19T21:29:23Z")

</div>

> [@jordan-violet](#):
>
> site\_info\_quote

> <https://github.com/discourse/discourse/blob/f752851030a2f05a8b4e77f582843866d735836d/lib/seed_data/topics.rb#L109-L118>

So something like

> ## Site title
> 
> site description

* * *

> [@jordan-violet](#):
>
> feedback\_category

> <https://github.com/discourse/discourse/blob/f752851030a2f05a8b4e77f582843866d735836d/lib/seed_data/topics.rb#L130-L130>

#Contribute > Site feedback (or something similar depending on the name of the category)

---

<div class="post-metadata">

**Author:** ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Post date:** [May 19, 2024, 9:30pm UTC](https://meta.discourse.org/t/site-text-interpolation-values/308630/3 "2024-05-19T21:30:59Z")

</div>

> [@Moin](#):
>
> `feedback_category: feedback_category_hashtag,`

Where is this determined?

---

<div class="post-metadata">

**Author:** ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)\
**Post date:** [May 19, 2024, 9:55pm UTC](https://meta.discourse.org/t/site-text-interpolation-values/308630/4 "2024-05-19T21:55:07Z")

</div>

There:

> <https://github.com/discourse/discourse/blob/main/lib/seed_data/topics.rb#L57>

> [@jordan-violet](#):
>
> While trying to adjust the text to use the new values, I see there’s no way for me to tell what those values are.

I don’t think there is an easy way. You can search on GitHub based on the translation key.

For example `discourse_welcome_topic.body`:

> <https://github.com/discourse/discourse/blob/main/lib/seed_data/topics.rb#L124-L130>

---

<div class="post-metadata">

**Author:** ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**Post date:** [May 20, 2024, 12:08am UTC](https://meta.discourse.org/t/site-text-interpolation-values/308630/5 "2024-05-20T00:08:40Z")

</div>

Okay so that value is literally just hard-coded to a category called #Contribute > Site feedback. Interesting.

Thanks for pointing me to all of this!
