B
B
Baxterok2015-01-07 04:37:39
Internationalization and localization
Baxterok, 2015-01-07 04:37:39

How to fix language switching on the site?

Hello.
Made the site multilingual (site.com/ru/, site.com/en/).
I use links as a language switcher, but the bottom line is that when you go to them, the site changes localization only after the second click on the link. Because the first time you click, the site is updated, but the language does not change. And after the second click, the site is updated (as far as I understand) completely and changes the localization.
How to make the language change the first time?
PS The site is self-written.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RubenSu, 2015-01-07
@RubenSu

And what is sent in the header of the pages and what are the server settings for these directories?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question