var lang = function (term) { var t = {}; return (typeof t[term] != 'undefined') ? t[term] : term; }