Literal Translation
To have the cockroach
Actual Meaning
To be blue, depressed
Etymology
Cockroach’ originally had a sneaky, hypocritical connotation. Baudelaire introduced the idea of it meaning dark thoughts in Les Fleurs Du Mal in 1857. The current meaning is much more recent, probably from military slang in WWI and is found in many writing from the time.
