HaikuDepot and Languages
The desktop application Haiku Depot (HD) started off having a hard coded list of a few languages that were known to be supported in the Haiku Depot Server (HDS) system. Here is how it looked.
The HDS application server actually supports a wider range of languages and is able to provide a list of those languages that it does support to HD. I have updated HD to read in those languages from the HDS server and use them when a user either creates an account or adds a new user-rating.
Because HDS supports a large number of languages, it can be a long list. In order for commonly used, popular languages to be more easily found, I have situated those in a section above other languages. The list of commonly used languages may need to be adjusted, but this concept will probably work well.