Flag info is in... Spanish?

Hey I saw a flag on my phone (can’t get to desktop for a bit) and noticed it’s in Spanish or something. Everything else is in English.

2 Likes

Oh interesting. I remember @gerhard worked on a bug related to this. It’s probably because the person who flagged selected spanish as their UI locale in their user preferences?

2 Likes

Yeah I think he fixed that recently. @dylanh724 are you running the latest version of Discourse?

How recently? I updated like a day before this post.

You should have the fix then.

@gerhard, any ideas?

I didn’t make any changes in that part of the app, but I see where this could go wrong. I’ll try to reproduce the problem.

I was thinking of this commit. Maybe it’s related?

Yeah, that was a similar issue. I think I need to force the default locale for SpamRulesEnforcer.enforce! as well.

3 Likes

https://github.com/discourse/discourse/commit/5ed582551ad2eb0bad27d870cec406cd4886cbf5