Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting server lists by language #632

Open
ohmypxl opened this issue Jul 5, 2022 · 3 comments
Open

Sorting server lists by language #632

ohmypxl opened this issue Jul 5, 2022 · 3 comments

Comments

@ohmypxl
Copy link
Contributor

ohmypxl commented Jul 5, 2022

It would be great if we can sorting the server with the language we want to display.

For example, assume in open.mp server index have this:

Russia gaming server
India tech support roleplay
Indonesia garuda bekasi freeroam
Zombie makasar gaming

Each for server display their language as:

Russia
India
Indonesia
Indonesia

Then, if i want to short the server by the language (for example: Indonesia), it would be like this:

Indonesia garuda bekasi freeroam
Zombie makasar gaming

This feature would eliminate scrolling the server that they dont want or even dont understand the language the server uses, meaning you dont have to scroll thousands of russian server to just get your own country server.

@Southclaws
Copy link
Contributor

I've considered using heuristics to figure out language, outside of the "language" field. But the language field should be good enough in most cases.

@ohmypxl
Copy link
Contributor Author

ohmypxl commented Jul 18, 2022

I've considered using heuristics to figure out language, outside of the "language" field. But the language field should be good enough in most cases.

And some "language" field will have / indicating that they're supporting either one of two languages that are provided, so you might also want to check that as well 😄

For example:

Indonesia/English
Japan/Russia
Romania/English

Oh and also, some people will just use 2 letters language (e.g RO/EN, EN, ID), we could make it "unknown" to force server owner to update the "language" field to "corrected format" in order for our filter to work completely.

That's what i want to say, hope this feature really be implemented in the future!

@Southclaws
Copy link
Contributor

RO, EN, RU etc are actually standardised as part of ISO639-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants