Language switcher doesn't work if you came from the website
Because the website sets a cookie on totem-project.org
level, and the language switcher only sets the cookie on learn.totem-project.org
, but doesn't remove the one from totem-project.org
...
Solution:
The language switcher seems to use a PATCH
call to /lang_pref/session_language
. Maybe we can do that from the website as well.