Skip to content

Conversation

wengxt
Copy link
Member

@wengxt wengxt commented Sep 7, 2025

QLocale, or icu locale, no matter which, has only iso639-2 support. We
may use code from iso639-3 or even more.

Also, the native language, since we only use them for terriority, which
means in real only zh_CN & zh_TW will be using such function. It doesn't
really serve the purpose of always show language name in native
language.

In the end, the change is:

  1. use iso639 to get langauge name, in English & Translated
  2. Display with translated, but search with both English / Translated.

Fix #92

…from iso639 and iso3166

QLocale, or icu locale, no matter which, has only iso639-2 support. We
may use code from iso639-3 or even more.

Also, the native language, since we only use them for terriority, which
means in real only zh_CN & zh_TW will be using such function. It doesn't
really serve the purpose of always show language name in native
language.

In the end, the change is:
1. use iso639 to get langauge name, in English & Translated
2. Display with translated, but search with both English / Translated.

Fix #92
@wengxt wengxt merged commit 57a5ea0 into master Sep 7, 2025
4 checks passed
@wengxt wengxt deleted the lang branch September 7, 2025 02:36
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

Successfully merging this pull request may close these issues.

Improve searching and language name displaying

1 participant