ankitects/anki

Webview forms don't follow Anki's language preference

Open

#4.823 geöffnet am 12. Mai 2026

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (27.973 Stars) (2.965 Forks)batch import
good first issue

Beschreibung

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 --lang flag with the QTWEBENGINE_CHROMIUM_FLAGS environment variable.

Related: #4820

Contributor Guide