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

GetLanguageInfo()->CanonicalName not as expected #211

Open
0tkl opened this issue Dec 17, 2024 · 0 comments
Open

GetLanguageInfo()->CanonicalName not as expected #211

0tkl opened this issue Dec 17, 2024 · 0 comments

Comments

@0tkl
Copy link
Contributor

0tkl commented Dec 17, 2024

// Check if user local language is available, if so, make it first
const wxLanguageInfo *info = wxLocale::GetLanguageInfo(wxLocale::GetSystemLanguage());
if (info) {
auto it = std::find(langs.begin(), langs.end(), info->CanonicalName);
if (it != langs.end())
std::rotate(langs.begin(), it, it + 1);
}

Install Aegisub on a ko-KR locale Windows computer, and open Aegisub for the first time. The Korean language does not appear at the top of the list. I'm not sure which of the languages already supported by Aegisub still affected by this bug.

캡처1

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

No branches or pull requests

1 participant