set lang from location hash