List languages in alphabetical order

Open Beginner friendly
#4,689 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
63/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
django, python

Research direction

Start by locating the widget settings view and the code that builds its language choices, then check how those choices are sorted. Reproduce the issue with the Croatian widget URL in the report and compare the displayed order with language-specific alphabetical order. Done when the menu follows the appropriate order for the selected language.

Written by the indexing model from the issue text.

Description

Describe the issue

List of languages doesn't display in correct/language specific alphabetical order

I already tried
  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.
Steps to reproduce the behavior
  1. Go to https://hosted.weblate.org/widgets/weblate/?lang=hr&component=62
  2. Klick and open the "Language" menu in the section Widget Settings
  3. See that languages don't appear in correct alphabetical order
Expected behavior

List languages in correct/language specific alphabetical order

Screenshots
Weblate widget language list
Exception traceback

Additional context

I don't know how you sort the languages, maybe by some language codes.

You might want to take a look at my similar issue 11962 at openlibrary and the final result at https://openlibrary.org/languages?sort=name. Maybe you can find the solution there, or ask how they solved the problem.

I'm not a programmer, so I'm sorry that I can't help out to solve this issue ☹️

Dominant language
Python
Stars
46
Forks
56
Avg merge
5h 14m
Merged PRs (30d)
184

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WeblateOrg/website

All issues in WeblateOrg/website

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.