Text "login_required.welcome_message": The following interpolation key(s) are missing: "title"

Hi there!

I’m trying to save the text login_required.welcome_message and getting the message:

The following interpolation key(s) are missing: “title”

Screenshot:

I read this topic, but the solution doesn’t work:

We’re on the hosted instance plentymarkets.com with version Discourse 1.9.0.beta13 - https://github.com/discourse/discourse version e600fb79b3c3eb228f5ee7bf8674016964141bd0

Any help would be appreciated :slight_smile:

Thanks!

Did you try rebuilding container?

We use the Discourse hosting. Don’t think I’m able to do this myself :confused:

What text are you trying to use? Does it include %{title}?

2 Likes

What’s the %{title} for?

This is my complete text:

It’s the forum title. So, replacing “plentymarkets Forum” in the first line with %{title} should make it work.

# [Willkommen im %{title}](#welcome)

(Oh, and you probably want a space after # otherwise it won’t be formatted as heading.)

5 Likes

Thanks! Saving works now. However, the changes don’t show up on the actual page (yet). I’ll wait a bit…

Text customizations use the locale of the user that edits the text. So, you need to make sure that you use the German locale if you want to edit a German text. Currently three of them are in English.

 locale |                translation_key                
--------+-----------------------------------------------
 en     | js.composer.reply_placeholder
 en     | login_required.welcome_message
 en     | system_messages.usage_tips.text_body_template
3 Likes

You’re certainly right. After switching to German locale and making adjustments there, everything’s fine.

Thanks!

4 Likes