New function messages(msgid, lang=current_lang) available for templates