Files
libkiwix/src
Veloman Yunkan 927c12574a Preliminary support for Accept-Language: header
In the absence of the "userlang" query parameter in the URL, the value
of the "Accept-Language" header is used. However, it is assumed that
"Accept-Language" specifies a single language (rather than a comma
separated list of languages possibly weighted with quality values).

Example:

Accept-Language: fr
// should work

Accept-Language: fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5
// The requested language will be considered to be
// "fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5".
// The i18n code will fail to find resources for such a language
// and will use the default "en" instead.
2022-04-13 16:40:20 +02:00
..
2021-03-17 14:09:48 +04:00
2022-01-05 20:16:38 +05:30
2022-01-03 09:35:04 +01:00
2018-12-02 15:47:29 +01:00
2020-08-28 15:27:03 +02:00
2022-01-13 14:23:29 +01:00
2022-01-12 18:07:46 +01:00
2021-06-30 18:27:00 +02:00
2020-10-07 18:43:57 +02:00