I think Humans are pretty good at at least recognizing that a particular phrasing doesn't make sense as a literal statement and so must be a reference to something. Often you can get an idea of what it's meant to mean just by context. Sometimes if you see a dozen or so usages, you get the idea of what it means without ever having it explicitly explained.
Good luck accurately machine translating the infinitely growing idiom of jokey Twitter conversation, which most native speakers can pick up pretty quickly.