ankitects/anki
Webview forms don't follow Anki's language preference
Chiusa
#4823 aperta il 12 mag 2026
good first issue
Metriche repository
- Star
- (27.973 stelle)
- Metriche merge PR
- (Merge medio 4g) (68 PR mergiate in 30 g)
Descrizione
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