Tusooa Zhu 8de573b047
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-03-02 19:59:11 -05:00
..
2022-02-02 12:29:53 -06:00
2021-01-13 07:49:50 +01:00
2022-02-02 12:45:26 -06:00
2021-01-13 07:49:50 +01:00
2021-12-27 18:29:03 -06:00
2021-01-13 07:49:50 +01:00
2021-01-13 07:49:50 +01:00
2021-04-05 19:19:11 +02:00
2021-01-13 07:49:50 +01:00
2022-02-06 17:41:15 +01:00
2021-01-13 07:49:50 +01:00
2021-04-05 19:19:11 +02:00
2021-08-06 07:59:53 +02:00
2021-01-13 07:49:50 +01:00