Skip to content

A thin wrapper on top of GetLocaleInfoEx to get the user locale on Windows

License

Notifications You must be signed in to change notification settings

desktop/win32-user-locale

Repository files navigation

win32-user-locale

A thin wrapper on top of GetLocaleInfoEx to get the user locale on Windows

Goals

  • zero dependencies
  • leverage TypeScript declarations wherever possible

Install

$ yarn add win32-user-locale
# or
$ npm install --save win32-user-locale

Documentation

See the documentation under the docs folder.

Supported versions

Each release of win32-user-locale includes prebuilt binaries based on N-API, with support for different versions of Node and Electron. Please refer to the N-API version matrix and the release documentation for Node and Electron to see what is supported currently.

Contributing

Read the Setup section to ensure your development environment is setup for what you need.

While we always try to accomodate requests this package is mainly developed to support GitHub Desktop and our priorities reflect that.

If you want to see something supported, open an issue to start a discussion about it.