would rather see it like:
getLanguage([format])  -- Returns the active language as a string.
format:  [opt] format of the returned language string
0: full language  (default)
1: two letter code
2: three letter code