The language detection doesn't work correctly.

Created on 15 September 2022, almost 2 years ago
Updated 28 February 2023, over 1 year ago

The language detection doesn't work correctly when we have and Admin language detection enabled for the interface. Here are the rules I have:

My URL structure is example.com/us/en or example.com/us/es. My default langue is EN.
It doesn't load the correct language on the /us/es/node/123/edit page for the content, it just redirects to the default language /us/en/node/123/edit.
And on the node view /us/es/node-alias it returns 404.

I spent hours debugging to understand what's the issue and eventually I figured out that the problem is that language_url negotiation missing the country-path-language-url implementation. Here is the related issue β†’ .

πŸ› Bug report
Status

Fixed

Version

1.5

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia nortmas Crimea/Thailand

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024