liferea icon indicating copy to clipboard operation
liferea copied to clipboard

Send Accept-Language HTTP header

Open DanMan opened this issue 6 years ago • 1 comments

So that sites that negotiate language purely based on that header can deliver multi-lang feeds in the desired language. Just like browsers do.

One "preferred language" setting in Liferea is probably enough for a start. Sites usually fall back on their standard language, which is often English. Maybe pre-populate the field in the settings with the system language.

DanMan avatar Mar 20 '19 14:03 DanMan

I would like to work on this issue. Can you give a high level overview of the tasks to be accomplished

ParthShitole avatar Oct 18 '24 09:10 ParthShitole

@ParthShitole Sorry, I've overlooked your message.

If you are still interested here is a rough overview of what would need to be done

  • [ ] determine language from locale (e.g. with g_get_locale_variants())
  • [ ] add new libsoup header in src/net.c

That should be it.

lwindolf avatar Jan 01 '25 12:01 lwindolf

Implemented for 1.16-RC1

lwindolf avatar Feb 09 '25 10:02 lwindolf