# Translation missing error on trying to use site\_title or site\_name in Invite Forum Mailer subject

**URL:** https://meta.discourse.org/t/translation-missing-error-on-trying-to-use-site-title-or-site-name-in-invite-forum-mailer-subject/95670
**Category:** Bug
**Created:** [8월 26, 2018, 12:54오후 UTC](https://meta.discourse.org/t/translation-missing-error-on-trying-to-use-site-title-or-site-name-in-invite-forum-mailer-subject/95670 "2018-08-26T12:54:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![k4rtik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/k4rtik/32/119508_2.png) [@k4rtik](https://meta.discourse.org/u/k4rtik)
#### Post date: [8월 26, 2018, 12:54오후 UTC](https://meta.discourse.org/t/translation-missing-error-on-trying-to-use-site-title-or-site-name-in-invite-forum-mailer-subject/95670/1 "2018-08-26T12:54:33Z")

</div>

Searched for this for a while, but nothing useful so far, potentially a bug.

I am trying to change the template variable `%{site_domain_name}` to `%{site_title}` in the subject using the Customize → Email Templates interface, so that users see the name of the community instead of the temporary domain I am using in the invite emails. I see the following error:

> **translation missing: en.admin\_js.admin.customize.email\_templates.subject** : The following interpolation key(s) are invalid: “site\_title”

The same happens with `site_name`:

> **translation missing: en.admin\_js.admin.customize.email\_templates.subject** : The following interpolation key(s) are invalid: “site\_name”

Could someone suggest a solution?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [8월 26, 2018, 7:13오후 UTC](https://meta.discourse.org/t/translation-missing-error-on-trying-to-use-site-title-or-site-name-in-invite-forum-mailer-subject/95670/2 "2018-08-26T19:13:22Z")

</div>

You can’t arbitrarily add new text substitutions, that is not how the code works.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [8월 26, 2018, 7:13오후 UTC](https://meta.discourse.org/t/translation-missing-error-on-trying-to-use-site-title-or-site-name-in-invite-forum-mailer-subject/95670/3 "2018-08-26T19:13:24Z")

</div>


