Change gLang to genericLang if it is used

This changes gLanguage to represent the used localization, not the
localization of the users browser.