How search engines treat multilingual websites where language is stored in Cookies?

Hello.

Develop a website for an international domain for easy localization into other languages in the future. I would like to know how search engines treat the sites where the language is dynamically determined (the language of the browser or, say, IP) and then stored in the Cookies. The user will be able to change the language of the site in his basement. A good example of such site - Vkontakte. I know that there are more educated ways to specify the language:

  • To buy a domain, for example site.ru and site.de
  • To make a subdomain, for example, ru.site.pw and de.site.pw
  • Add language on all links, such as site.pw/EN/ site.pw/de/


But I heard that search engines determine the first two options as different sites, and the third option separee in implementation in the sense that all links have to specify the language using a function such as (best guesses):

<a href="/<?php current_language(); ?>/prices"></a>

But about the implementing method using Cookies, I'm asking about, I have nothing sensible could not naguglit. Share your opinions and experience please.
1 answer
July 8th 19 at 11:48
Solution
IMHO, they are still there in the cookies. Yandex and Google recommend to do so:

https://yandex.ru/blog/webmaster/15326

googlerussiablog.blogspot.ae/2013/04/hreflang-upda...
So, if I'm on all of my pages will show

<link rel="alternate" href="full-address-links" hreflang="x-default">

and the user language will be automatically detected, then the search engines will correctly pick up the language in the description of the link in search results? Do I understand correctly? - clifton83 commented on July 8th 19 at 11:51
No, here they write of course is not very clear.
In the help a little more developed:
https://yandex.ru/support/webmaster/yandex-indexin...

Cm. subsection "Page with automatic language detection". - Carroll_Cass commented on July 8th 19 at 11:54

Find more questions by tags Internationalization and localizationSearch enginesSearch engine optimization