On the recent question Can (a ==1 && a== 2 && a==3) ever evaluate to true?, a diamond moderator posted this comment:
Moderator note: Stack Overflow has had a history of people chiming in with answers in different languages to the one in question. These are attempts to answer the question because they are solutions to the general problem, albeit in a different language. Please refrain from flagging them as "not an answer". Having said that, please also refrain from posting more answers in different languages - there is a reason this question is specific to JavaScript, as pointed out by comments under some of these other answers, and there is a reason we like our language-specific questions to remain so.
Now, the question is about a unique quirk in JavaScript, and appropriate answers should answer how it is or is not possible in JavaScript. This is not an algorithm or pattern question in which an example from another language could be applicable (e.g., bubble sort or MVC). Nor is the question about a shared API used by multiple languages (e.g., Cocoa from Objective-C or Swift). Other languages may have somewhat related quirks because a similar operator is involved, but the solutions and reasons would be specific to each language (e.g., JavaScript does not support operator overloading while many other languages do).
The question A minor change to the description of the “not an answer” flag: “the question” → “a question” is related, but that is a feature-request asking for a wording change to the "not an answer" flag. The result of that was either inconclusive, or no action was taken from what I can tell.
The question Again a “not an answer” flag has been declined when the answer uses a completely unrelated language is related, and a diamond moderator responded explaining why the flag was declined (the tools are less than ideal).
The current message for the "not an answer" flag is:
This was posted as an answer, but it does not attempt to answer the question. It should possibly be an edit, a comment, another question, or deleted altogether.
Martijn Pieters's answer to "When to flag an answer as “not an answer”?" lists several scenarios for when to flag answers as "not an answer". However, I don't think this specific scenario is addressed (I know it's hotly contested). The other answers do not attempt to answer the question. These other answers aren't wrong or misunderstanding the question. They answer different questions to different answers not posed by the question. They also don't answer the underlying cause of the question (e.g., an X-Y problem).
So to reference the apples and oranges image, the question is an apple, and these other answers should be considered oranges. Can an orange really answer an apple? I like oranges as much as the next guy, but I don't think they belong in a bushel of apples.
With that all in mind, why should posted answers about completely unrelated languages be considered attempts to answering the question (i.e., not "not an answer") when they do not answer, aid, or provide a solution to the question itself or its underlying cause?