Site text interpolation values?

AI-generated summary

Site text interpolation values

jordan-violet is looking for the default values of interpolation keys, specifically site_info_quote and feedback_category, used in discourse_welcome_topic.body. Moin provided a link to the GitHub code for site_info_quote, and jordan-violet found that feedback_category is a hardcoded hashtag.

Arkshine explained that there isn’t an easy way to find these values, and suggested searching GitHub for the translation key. jordan-violet discovered that the feedback_category value is hardcoded to #site-feedback.

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

So something like

Site title

site description


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

Where is this determined?

There:

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:

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!