This does not happen with any other chromium based browser

My phone locale is set to Italian with English as second language. IP address is Italian. I’m not understanding why sites like f-droid, Google dev documentation, gitlab, are all defaulting to Chinese as I can’t read it…

Sometimes I can find a link to switch back to either English or Italian, but the next visit they revert to Chinese…

  • Wispy2891@lemmy.worldOP
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    The header is parsed incorrectly on Google servers and return html in the wrong language. It’s google, f-droid , gitlab and many others that have to fix the parsing bug, which is very unlikely

    • Xatolos@reddthat.com
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      2 months ago

      At the beginning of your post, you wrote that “This does not happen with any other chromium based browser”. This would indicate that it’s a unique problem to Firefox and would in turn be a Gecko engine issue. Now, if this was an issue with other browsers, then I’d agree with you.

      • Wispy2891@lemmy.worldOP
        link
        fedilink
        arrow-up
        2
        ·
        2 months ago

        After investigating, it’s because chromium browsers don’t send “zh-Hans-CN” in the request header and it turns out that many server side language detection implementations are buggy.

        So, it’s not technically a Firefox bug, but, considering the minuscule share of people that are

        1. Using Firefox on Android (on desktop it can be fixed, and on iOS it’s WebKit-based)
        2. Having, at the same time, a language different than English as primary, and simplified Chinese as tertiary or less priority

        It’s extremely unlikely that hundreds of separate website owners will fix their implementation

        I’m guessing the people with this issue are in the orders of dozens, not thousands