ankitects/anki

Webview forms don't follow Anki's language preference

Open

#4,823 创建于 2026年5月12日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (27,973 star) (2,965 fork)batch import
good first issue

描述

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

贡献者指南