Fix getting language for uri.