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

(Thorben Egberts) #1

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”


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:



Did you try rebuilding container?

(Thorben Egberts) #3

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

(Gerhard Schlager) #4

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

(Thorben Egberts) #6

What’s the %{title} for?

This is my complete text:

(Gerhard Schlager) #7

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.)

(Thorben Egberts) #8

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

(Gerhard Schlager) #9

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

(Thorben Egberts) #10

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