Memoize languages we worked in

Otherwise this was requested multiple times in at least
the submission page with comments
Merge pull request #1226 from markijbema/memoize-language

Memoize language