distraction.party/lib
Tusooa Zhu ef73f61b07 Fallback to a variant if the language in general is not supported
For an example, here, zh is not supported, but zh_Hans and zh_Hant
are. If the user asks for zh, we should choose a variant for them
instead of fallbacking to default.

Some browsers (e.g. Firefox) does not allow users to customize
their language codes. For example, there is no zh-Hans, but only
zh, zh-CN, zh-TW, zh-HK, etc. This provides a workaround for
those users suffering from bad design decisions.
2022-06-29 20:47:10 +01:00
..
mix Merge remote-tracking branch 'upstream/develop' into develop 2021-12-30 18:05:22 +00:00
phoenix/transports/web_socket Bump Copyright to 2021 2021-01-13 07:49:50 +01:00
pleroma Fallback to a variant if the language in general is not supported 2022-06-29 20:47:10 +01:00