The reason is that at some point a few years ago, the trending list was filled with Chinese repositories which makes it useless if you don’t speak the language. The language filter fixed it for me and made the page useful again.
Please don't do this - plenty of service auto-translate descriptions and they drive me crazy. If the description is in a language I don't speak then at least I know that I can skip it. But if it's auto-translated then I'll click on the repo, only then realize that I don't understand it, go back and try again with the next repo.
The only situation in which I would welcome such a change would be if GitHub translated comments, function names, variable names, READMEs and all documentation (including screenshots and reference guides not hosted on GitHub) AND THEN translated my contributions back from my language to the original one.
This comes off as inflammatory. It sounds like you're misrepresenting GP's desire to filter out a language they cannot read as a kind of bigotry against the speakers of that language.
That may explain the apparent disapproval from the community.
As for auto-translation, there are plenty of browser extensions and other solutions if people want that.
I also do agree with the filter itself purely because I ran into the same problem too, lots of Chinese repositories with poor if any English READMEs.
At some point I actually tried to read some of these projects and they often were complete garbage (empty repositories or disgusting code) or completely specific to China. The useful projects tended to have an English readme anyway.
This honestly made me realize there’s kind of a fracture in open source between China and the west: Chinese don’t speak English, and the west doesn’t speak Chinese. It’s almost like they have parallel libraries for everything we routinely use. Which makes sense because we rarely provide Chinese documentation on our projects.
A project of mine that tracks project mentions (in real time) on Hacker News and Reddit to determine trending repos.
Just a nitpick: I'd like to see the repo org or author in the repo listings. The top 20 is currently listing 3 different stable-diffusion repos with no obvious differences (except for the ranking scores).
The fact that this is the only filter they’ve added in years, and it is next to a different “language” drop-down doesn’t suggest that they’re really interested in making filtering actually helpful — but that they’re trying to solve one specific label being a source of confusion by adding another button.
Weirdly, I've been low-key worried about it ever since they added the "Spoken Language" dropdown, which AFAICT is the only real change from the last few years.
It's not that I think being able to search by spoken language is bad or anything, it just screams of a middle manager trying to "solve" the important problem of a few people being confused about how the "language" filter referred to the programming language, and the solution was "let's add another button!"