Fix getting language for uri.
Fix getting language for uri.