English in Accept-Language

2023-04-06 Thread Quentin Wenger
Hi, I'm new to Kallithea. I freshly installed an instance and got an issue with languages. My browser sends the following header: Accept-Language: en-US,en;q=0.7,fr-CH;q=0.3 I expect Kallithea to be rendered in English, but instead I see French. I found in the mail archive that the issue has b

Re: English in Accept-Language

2023-04-09 Thread Mads Kiilerich
Hi You are right. That regressed with TurboGears 2.4.3, kind of documented on https://github.com/TurboGears/tg2/releases . As a workaround, does it work as expected for you if setting i18n.native = en ? I will consider pushing https://kallithea-scm.org/repos/kallithea-incoming/changeset/405e

Re: English in Accept-Language

2023-04-09 Thread Quentin Wenger
Hi Mads, Thanks for the answer. Yes, `i18n.native = en` works for me! Thanks for the hint. Your patch works as well and LGTM. Kind regards, Quentin ___ kallithea-general mailing list kallithea-general@sfconservancy.org https://lists.sfconservancy.org/