ankitects/anki
View on GitHubWebview forms don't follow Anki's language preference
Open
#4,823 opened on May 12, 2026
good first issue
Repository metrics
- Stars
- (27,973 stars)
- PR merge metrics
- (Avg merge 4d 16h) (68 merged PRs in 30d)
Description
Problem
Webview inputs such as date pickers don't follow the language set in Anki preferences.
Solution
- Set the app locale using QLocale::setDefault.
- Pass the user's language to Chromium using the
--langflag with theQTWEBENGINE_CHROMIUM_FLAGSenvironment variable.
Related: #4820