use location.path for redirect to different language