I’ve been playing with Grav for a week and I like it very much so far!
I am using Grav v1.7.7 with Admin v1.10.6. My theme is Quark Open Publishing 2.2.6.
I have a little problem with the session-based storage of the active language: it doesn’t seem to work.
My website’s default language is French, secondary language is English. The current language is always in the url (/fr/ or /en/).
If I choose English on a page via the Language Switcher in the footer (or by modifying the URL), I get to the English page. But if I then remove the /en/ part of the URL, I get to the French page (/fr/).
Isn’t it supposed to remember that I selected English? That’s what I would like to do.
Maybe there is an additional setting to enable but I don’t see which one.
I tried in private browsing mode, because I thought my admin session were interfering with this feature, but I had the same issue.
Relevant parts of
system.yaml, related to languages and sessions:
languages: supported: - fr - en default_lang: null include_default_lang: true include_default_lang_file_extension: true translations: true translations_fallback: true session_store_active: true http_accept_language: false override_locale: false pages_fallback_only: false session: enabled: true initialize: true timeout: 1800 name: [xxxx] uniqueness: salt secure: true httponly: true samesite: Lax split: true domain: null path: null
Do you have an idea of what might cause the problem ?
I can give the URL of the website if needed.