add support for '?lang=en' param in urls