Answer the question
In order to leave comments, you need to log in
User locale on the site, where to store?
Let's say there is a site with multilingual support, a user came in and chose his native locale or close to it.
Where to store the user's choice?
In sessions, or as part of the address example.com/ru/products/1234
Or in the GET parameter ?locale=ru
The subdomain name is not considered, as it is taken for other needs.
What other ideas do you have, pros and cons of different approaches?
Answer the question
In order to leave comments, you need to log in
Familiar seo experts say that it is absolutely right to have different domains for different languages.
Why does the user need to select manually? When entering the site, the system itself will determine and set the desired language, and if the user is not satisfied with the choice, then ?lang=ru(ua, en, etc.) and save his choice in a cookie.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question