Consider 'lang' from query string when choosing language (bug 874926).

this will pass the right `lang`= arg along to API calls.