Closed veloman-yunkan closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
aff801e
) 39.34% compared to head (c697611
) 39.35%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Reminder to myself - translatewiki PR #1033 has been merged, so languages.js
must be regenerated during rebase&fixup.
Please rebase-fixup.
Reminder to myself - translatewiki PR #1033 has been merged, so
languages.js
must be regenerated during rebase&fixup.
Done
Please rebase-fixup.
@mgautierfr Done
Fixes #1038 Fixes #1039
This change makes the viewer resolve the default UI language in the front end, without any dependence on the backend's handling of the
Accept-Language
header. Yet, the latter has not been removed since it is currently used in the following scenarios:/nojs
endpoint/invalid_endpoint
, or any other invalid kiwix-serve URL directly loaded in the browser rather than via the Kiwix JS viewer).