Using ä in customize broke Discourse, even after restore


From logs:

Uncaught TypeError: Cannot create property ‘title’ on string ‘Ryhmät’ Url: https://MY Viestintävirasto - Fi-verkkotunnus Line: 4 Colum

What I did?
I went to customize texts and changed js.groups.index.title Groups into Finnish equivalent, “Ryhmät” (has ä, please note).

What happened?
Trying to reload the page gives only blank screen. I had one screen that hadn’t reloaded, so I changed the js.groups.index.title back to Groups, but still receiving blank screen.

How to fix?

How to find and amend un-translated strings
Site goes blank if you override translation for js.groups.index.title

TypeError: Cannot create property ‘title’ on string 'Ryhmät’
at Array.forEach (native)
at Object.initialize (
at Object.test.n.initialize (
at e.each (
at e.topsort (
at e.topsort (
at i._runInitializer (
at i.runInstanceInitializers (

However, the value is already changed back. Do I rake:clean?


I really need some help here. Even rebuild app doesn’t seem to work…

(Jeff Atwood) #4

Any ideas here @neil?

(Rafael dos Santos Silva) #5

You can try:

./launcher enter app
su postgres
psql -d discourse
DELETE FROM translation_overrides WHERE translation_key = 'js.groups.index.title';


I will try after I get my system otherwise working again… Somehow I managed to get the docker not working…

(Rafael dos Santos Silva) #7

After too many rebuilds disk space ends.


I’m still at 10G free. I’m trying to run cleanup, but am getting some weird problems:


Ok, so after my fiasco I don’t think I’ll try again to change the name. I just disabled the Groups from the hamburger-menu…


After seeing this…

… I think it’s not only the ä I used.

Also, disabling group directory did not hide it from the hamburger menu, as stated in that other report. I wonder if this is also responsible for my problems mentioned here:

(Alan Tan) #11

Can you try upgrading to latest? I can’t reproduce this so it might have been an error in one of the commits I made while working on the groups page.

Oops looks like renaming the site setting didn’t go smoothly. This has been fixed.


Well, after my clean install + restore I didn’t try to rename the js.groups.index.title just to keep the forum floating :). I’ll upgrade discourse right away and see if Groups is still in the menu even after that…

(Pad Pors) #13

sorry to bother, I think I have the same problem here, and I don’t know which translation_key I should remove in the database.

and now we get blank page. can you guide?

(Alan Tan) #14

Is this still an issue?

(SMHassanAlavi) #15

We have this problem too and for removing this problem we have removed almost 10 translation from databse.

(Alan Tan) #16

Can you provide me with more details?

Which translation did you override and with what text? :slight_smile: Thank you!

(SMHassanAlavi) #17

I have deleted the translation which site errors on step by step.
after removing first translation I think this would fix the site but I see error on another translation. I deleted this translation and the site fixed.

(Alan Tan) #18

Ah I need the translation keys and the text pasted here. :slight_smile:

I don’t really know how to type those characaters :wink: