Fixed bug in determining the current language site, which could lead to incomplete processing of pages by search engines.