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

fix(ui): sort regions & languages by their localized names rather than their TMDb English names #1157

Merged
merged 4 commits into from
Mar 16, 2021

Conversation

TheCatLady
Copy link
Collaborator

Description

Currently, items in the dropdowns are not actually alphabetized by the strings displayed to the user, but by the English names returned from TMDb.

Not only does this result in the list not being alphabetized in non-English languages, but it actually causes some entries to appear out of order in English as well.

One example is the "zh" language code, for which TMDb returns an English name of "Mandarin" but is usually localized to "Chinese."

Screenshot (if UI-related)

To-Dos

  • Successful build yarn build

Issues Fixed or Closed

N/A

@TheCatLady TheCatLady requested a review from sct as a code owner March 11, 2021 19:33
@TheCatLady TheCatLady force-pushed the fix/ui/region-language-sort branch 9 times, most recently from 609e022 to 7d4082c Compare March 16, 2021 03:51
@sct sct merged commit d76bf32 into develop Mar 16, 2021
@sct sct deleted the fix/ui/region-language-sort branch March 16, 2021 16:13
@github-actions
Copy link

github-actions bot commented Apr 1, 2021

🎉 This PR is included in version 1.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants