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

Wrong basque flag #670

Open
alexgabi opened this issue Mar 27, 2024 · 1 comment
Open

Wrong basque flag #670

alexgabi opened this issue Mar 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alexgabi
Copy link

Bug description
The basque has proper flag in translation options but it has spanish flag in settings

Expected behavior
Please, correct it

Screenshots
proper basque flag flag well
wrong basque flag wrong flag

Environment

  • OS: Linux Mint
  • Desktop environment: Gnome
  • Crow Translate version: 2.11.1
@alexgabi alexgabi added the bug Something isn't working label Mar 27, 2024
@Shatur
Copy link
Member

Shatur commented Mar 27, 2024

Languages in settings based on the locale. Please, check if the needed language have the correct QLocale (first argument is language, second one is country):

addLocale({QLocale::Albanian, QLocale::Albania});
addLocale({QLocale::Arabic, QLocale::SaudiArabia});
addLocale({QLocale::Azerbaijani, QLocale::Azerbaijan});
addLocale({QLocale::Basque, QLocale::Spain});
addLocale({QLocale::Chinese, QLocale::China});
addLocale({QLocale::Chinese, QLocale::Taiwan});
addLocale({QLocale::Dutch, QLocale::Netherlands});
addLocale({QLocale::English, QLocale::UnitedStates});
addLocale({QLocale::Finnish, QLocale::Finland});
addLocale({QLocale::French, QLocale::France});
addLocale({QLocale::German, QLocale::Germany});
addLocale({QLocale::Greek, QLocale::Greece});
addLocale({QLocale::Hindi, QLocale::India});
addLocale({QLocale::Hungarian, QLocale::Hungary});
addLocale({QLocale::Indonesian, QLocale::Indonesia});
addLocale({QLocale::Italian, QLocale::Italy});
addLocale({QLocale::Korean, QLocale::SouthKorea});
addLocale({QLocale::Malay, QLocale::Malaysia});
addLocale({QLocale::Polish, QLocale::Poland});
addLocale({QLocale::Portuguese, QLocale::Brazil});
addLocale({QLocale::Portuguese, QLocale::Portugal});
addLocale({QLocale::Russian, QLocale::Russia});
addLocale({QLocale::Spanish, QLocale::Spain});
addLocale({QLocale::Turkish, QLocale::Turkey});
addLocale({QLocale::Uighur, QLocale::China});
addLocale({QLocale::Ukrainian, QLocale::Ukraine});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants