I'm used to environment variables such as LANG and LC_*, but I recently noticed a LANGUAGE variable on my Ubuntu desktop. It's value was pt_BR:pt:en, and I'm wondering exactly what is meaning is. LANG, for one thing, was pt_BR.UTF-8, so if that first field is supposed to be the default locale/charset, it was at odds with was LANG set.
So, what's the exact meaning and format of LANGUAGE?