# 'Illegal' flag missing translation in Chat

**URL:** https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797
**Category:** UX
**Tags:** moderation, chat, completed
**Created:** [February 10, 2024, 9:50pm UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797 "2024-02-10T21:50:45Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [February 10, 2024, 9:50pm UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/1 "2024-02-10T21:50:45Z")

</div>

“illegal” chat flags don’t seem to have an English translation, is that intended?

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/a/1/1a15133c8f65f3fe945b9f7ff07c141d04733140.png)

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [February 11, 2024, 12:08am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/2 "2024-02-11T00:08:16Z")

</div>

Heh, this flag from admin/mod side seems a bit wrong, lmao:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/f/d/9fd004031ec0f9b14e5618fd409cc773523f3ac8.png)

> Is this chat message it’s illegal?

---

<div class="post-metadata">

### Author: ![anon36555649](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@anon36555649](https://meta.discourse.org/u/anon36555649)
#### Post date: [February 12, 2024, 12:10pm UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/3 "2024-02-12T12:10:48Z")

</div>

That looks like a bug, is supposed to display:

“This post requires staff attention because I believe it contains content that is illegal.”

This appears in that system dialogue box now when I have tested this, but e-mail notification shows similar to what you see there:

_Translation missing: en\_GB.flag\_reasons.illegal_

#Contribute > Bug !!

(That is with main update branch not beta or tests-passed)

Same with stable branch for message/e-mail notification:

_Translation missing: en.flag\_reasons.illegal_

That is only sent if response to flag is to hide post and give author option to edit.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [February 14, 2024, 4:09pm UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/5 "2024-02-14T16:09:46Z")

</div>

The bugs reported by @Firepup650 and @anon36555649 have been fixed. Please update and try it again, and let us know if you still see any issues. Thanks! 🌻

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [March 17, 2024, 9:18pm UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/6 "2024-03-17T21:18:24Z")

</div>

This appears to still be the case. 🤔

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/8/f/48fa6737042ad5b887b2308ad25790b12b557fc0.png)

---

<div class="post-metadata">

### Author: ![hello-smile6](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hello-smile6/32/304628_2.png) [@hello-smile6](https://meta.discourse.org/u/hello-smile6)
#### Post date: [March 18, 2024, 2:49am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/7 "2024-03-18T02:49:03Z")

</div>

Has the forum you tested on been updated recently?

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [March 18, 2024, 8:12am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/8 "2024-03-18T08:12:26Z")

</div>

Yes. Plus that is a screenshot from Meta.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [March 19, 2024, 1:25am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/9 "2024-03-19T01:25:58Z")

</div>

Weird – so is this.

 ![image](https://global.discourse-cdn.com/meta/original/4X/2/c/5/2c586a24c6e0010c88617fe83664e96189955e60.png)

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [March 19, 2024, 1:39am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/10 "2024-03-19T01:39:13Z")

</div>

So I found ~~two~~ one condition ~~s~~ for this by experimenting:  
~~1. Non-US locale (UK for example)~~  
2. Specifically, MUST be a chat message flag.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [March 19, 2024, 1:44am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/11 "2024-03-19T01:44:52Z")

</div>

My bad, I missed that obvious nuance.

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [March 19, 2024, 10:49am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/12 "2024-03-19T10:49:29Z")

</div>

I’ve just done some testing with @HamMan2118 and I’ve found out that it works fine on my mobile but not on my desktop.

Here is my view on mobile

 ![Screenshot_20240319_104543_Edge](https://global.discourse-cdn.com/meta/original/4X/6/7/f/67f6ace92dfcb9c0a7c886dfd8e1db9c1c36018c.jpeg)

And here is my view on desktop

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/d/7/3d73c42ef4c3f1143e645c31203746f843efee25.png)

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [March 19, 2024, 3:38pm UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/15 "2024-03-19T15:38:08Z")

</div>

Thanks! I am able to repro this here on meta. We’ll get this fixed up.

---

<div class="post-metadata">

### Author: ![ted](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ted/32/283882_2.png) [@ted](https://meta.discourse.org/u/ted)
#### Post date: [March 20, 2024, 5:34am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/16 "2024-03-20T05:34:49Z")

</div>

Thanks for the report @hello-smile6. 🙏

We missed out on chat when implementing this. The fix is here:

[https://github.com/discourse/discourse/pull/26255](https://github.com/discourse/discourse/pull/26255)

(Note that it’s a client-side translation, so you’ll need to reload the page after deploying to see the fix.)

---

<div class="post-metadata">

### Author: ![HamMan2118](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hamman2118/32/383565_2.png) [@HamMan2118](https://meta.discourse.org/u/HamMan2118)
#### Post date: [March 20, 2024, 5:56pm UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/17 "2024-03-20T17:56:01Z")

</div>

Thank you for this fix 🙂

However, I noticed that the translation is English in every language. An example below is what it looks like in German, but this is how it looks in every other language.

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/8/f/d8f224fa0712c01e030378c939adbed9a9f0dfd6.png)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [March 20, 2024, 5:57pm UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/18 "2024-03-20T17:57:36Z")

</div>

Es liegt daran, dass es noch nicht ins Deutsche übersetzt wurde, das wird im Laufe der Zeit kommen.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [March 23, 2024, 8:00am UTC](https://meta.discourse.org/t/illegal-flag-missing-translation-in-chat/299797/19 "2024-03-23T08:00:19Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
