pleroma/lib
Tusooa Zhu 3e5bfa03d0
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-05-09 10:44:43 -05:00
..
mix Update copyright, also 2022-02-12 11:53:32 -06:00
phoenix/transports/web_socket Update copyright, also 2022-02-12 11:53:32 -06:00
pleroma Fallback to a variant if the language in general is not supported 2022-05-09 10:44:43 -05:00