[vim/vim] Vim does not respect Windows display language or preferred languages (Issue #20855)

Markus Nißl (Vim Github Repository) <[email protected]> Mon, 27 Jul 2026 07:24:04 -0700
Newsgroups gmane.editors.vim.devel
Message-ID <vim/vim/issues/[email protected]>
mnissl created an issue (vim/vim#20855)

### Steps to reproduce

Vim does not respect the Windows display language or one of the preferred lanuages for the UI language. Instead vim uses the regional format.

Example: Windows display language is set to `English (United States)` and regional format to `German (Germany)`. `:language` outputs:

`Momentane Sprache: "LC_COLLATE=German_Germany.1252;LC_CTYPE=C;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=Germa
n_Germany.1252"`

<img width="1042" height="1222" alt="Image" src="https://github.com/user-attachments/assets/3f5d5b14-8c37-4d21-bebc-6428f7855736" />

### Expected behaviour

Vim should use the Windows display language or one of the preferred lanuages (if set) as its UI language.

### Version of Vim

9.2.782

### Environment

Windows 11

### Logs and stack traces

```shell

```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/issues/20855
You are receiving this because you are subscribed to this thread.

Message ID: <vim/vim/issues/[email protected]>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/issues/20855%40github.com.