After all the fun we've had with polyglot challenges in the (recent) past, how about a challenge where the output can be in two languages?
Your answer needs to accept boolean input
b and output the text
"false". The same code needs to output, when run in another language,
"onwaar" or any other translation of
- Input is a clearly distinguishable truthy/falsey. Admissible are the actual values T/F, a bit, int or (empty) string.
- Input needs to be the same for all parts of your submission.
Output may be returned by a function, written to
STDOUT, placed in a popup-window, 3D-printed and mailed etc.
The output needs to represent the state of
b. So a 'truthy' needs to output 'true', 'waar' ... and 'falsey' should lead to 'false', 'onwaar', etc.
Different languages may use different output methods.
One of your outputs MUST be
Different versions of programming languages count as different languages for this challenge.
Different dialects of a human language count as different languages for this challenge.
You may extend the polyglot to more than two programming languages. Every programming language needs to output a distinct human language.
The answer with the most languages incorporated will be declared the winner. When tied, bytecount is considered.