Translation missing error on trying to use site_title or site_name in Invite Forum Mailer subject

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?

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

4 Likes