Search notes:

Windows: locale

WinAPI

The WinAPI stores locale ids in the LCID «data type».
A locale id can be created with the MAKELCID(…) macro.
Each thread is assigned a locale, initially the system default locale, which can be changed with SetThreadLocale().

Input Locale

The Input Locale (aka input language) is a per-process setting that specifies the used input language (such as German) and an used input method (for example a keyboard).
Input Locales can be added and removed through the Keyboard and Language tab in the Region and Language control panel.

TODO

What is the relationship to the registry key HKEY_CURRENT_USER\Software\Microsoft\Input\Locales.

See also

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Locale
Languages
locale
The .NET class System.Globalization.CultureInfo
International settings
In Excel, locale related information can be queried with VBA using the application.international property.
wmic os get locale

Links

Raymond Chen: What are these directories called 0409 and 1033?

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1758194375, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/development/Internationalization/locale(81): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78