Tekst aanpassen werkt maar voor een paar elementen op de Site

AI-generated summary

A user, AEW745, reported a bug where custom text changes (e.g., replacing ‘Suspended’ with ‘Banned’) were inconsistently applied across the site — visible in some areas but not in the Dashboard. pfaffman initially suggested it might be due to missed locale strings or needing a hard reload, referencing the client locale file. However, gerhard confirmed it was indeed a bug and linked to a fix via a GitHub pull request. pfaffman acknowledged the quick resolution. AEW745 asked how to apply the fix, and sam clarified that rebuilding the container or upgrading via the web UI would suffice. Kuro22 provided specific CLI commands (./launcher rebuild app) or the web-based upgrade path (/admin/upgrade). A minor typo in the instructions was pointed out by khenmu, which AEW745 humorously claimed was intentional. Finally, AEW745 confirmed the fix worked perfectly after updating their site.

I am experiencing a Bug where I tried to customize text on the Dashboard but it only appears in some places on the Site but I’m not experiencing changes within the Dashboard.

Where is says Suspended it is supposed to say Banned.

This is supposed to say Banned? as well.

However, it shows the correct text below in the Dashboard.

4 likes

It’s highly improbable that this is a bug.

I believe that’s because there are many strings that you need to update and that you missed some. You can have a look here to see that you found them all: https://github.com/discourse/discourse/blob/main/config/locales/client.en.yml

Also, you need to do a hard reload in your browser after updating those text strings. So that might be the issue.

Thanks for reporting this issue. It actually is a :bug: :wink: and here’s a fix for it:

7 likes

Shows that I know! That was a quick fix!

1 like

Can you explain how to add this to my site?

Nothing special need, just rebuild your container or update from the web ui and try again. I just merged the change.

How do I rebuild the container? Do I run the command to rebuild my site?

Run the following commands

sudo -s
cd /var/discourse
./launcher rebuild app

or access https://forum.ready-n-shop.com/admin/upgrade with your browser and then click Upgrade all on the right top.

3 likes

Sorry for being That Guy™, but there’s a typo in one of those;

No, that’s not a Typo. I wanted it to be that way.

2 likes

Thanks, I updated my Site and it is working perfectly. Thanks for adding the update file to my site!

2 likes

This topic was automatically closed after 21 hours. New replies are no longer allowed.