Re: [i18n-discuss] How to order items in a multilingual list of languages? (#20)

Personally, I think it's better to put the user's preferred languages first, and put other languages at the back in some order. That's what Wikipedia uses.

There are two problems to solve: 1) how to find the user's preferred languages, and 2) how to order the languages that follow.

About the first problem, one way is to select the language according to the browser language preferences of the user, and another way is to let the user configure the preferred languages by themselves.

As for sorting the languages that follow, I think one way is to use the way the language is called in the currently displayed language. If the current page is in English, the list of languages should be sorted alphabetically. If the current page is in Japanese, the list of languages should be sorted according to the order of the Japanese syllabary. Another way is to use some fixed order (such as the BCP 47 language subtags) in all language versions.

-- 
GitHub Notification of comment by xfq
Please view or discuss this issue at https://github.com/w3c/i18n-discuss/issues/20#issuecomment-1011884368 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 January 2022 07:55:24 UTC