https://bugs.kde.org/show_bug.cgi?id=478989

Alvin Wong <al...@alvinhc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |al...@alvinhc.com

--- Comment #1 from Alvin Wong <al...@alvinhc.com> ---
The language detection logic does exist. [1] Though for the case of Ukrainian,
the locale code in use in Sphinx is `uk_UA`, which may not match correctly if
the browser sends the locale code `uk` in the `accept-language` request header.
The current locale matching is kind of dumb, we can try using `locale_lookup`
[2] instead.

[1]:
https://invent.kde.org/documentation/docs-krita-org/-/blob/2e9eac37c62e522ed2750df9da22ef1c8af5f825/404handler.php#L333-384
[2]: https://www.php.net/manual/en/locale.lookup.php

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to