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

AI-generated summary

thorbenegberts is trying to save the text login_required.welcome_message but is getting the error “The following interpolation key(s) are missing: ‘title’”. After trying a solution from a previous topic, they still face issues. gerhard suggests that the text might include %{title}, which is the forum title. To resolve the issue, gerhard recommends replacing “plentymarkets Forum” with %{title} in the text. This resolves the saving issue, but the changes don’t appear on the actual page. gerhard explains that text customizations use the locale of the user who edits the text, and since three translations were in English, switching to the German locale and making adjustments there resolves the issue.

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}?

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

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

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

Thanks!