Internationalization fixes

Well, I noticed some minor issues with our internationalization which are fixed with this PR:
* Wrong title: In somewhat older browsers, the title wasn't correctly set
* Wrong lang var: `i18n.lng()` determines the language asked for, but not the language actually found, so the `<html lang="...">` attribute was set to the wrong value sometimes