Как узнать локаль windows

As you may already know from previous articles, Windows 10 supports changing the display language using language packs. If you are working in a localized user account in Windows 10 which is your native language, you might be interested in learning what language is used for older apps that doesn’t support Unicode. Here are a number of methods you can use.

Windows 10 supports language packs. By installing one or several language packs, you can switch your Windows display language on-the-fly. It is also possible to have a different display language for each user account.

There are plenty of apps that don’t support Unicode. Most of them are apps that have been created for previous Windows versions.

The option that specifies the default language to use for non-Unicode programs is called System Locale. The system locale defines the bitmap fonts and code pages (ANSI or DOS) that are used on the system by default. The system locale setting affects only ANSI (non-Unicode) applications. The language for non-Unicode programs is a per-system setting.

To Find Current System Locale in Windows 10, do the following.

  1. Open Settings.
    Windows 10 Creators Update Settings 15019

  2. Go to Time & Language.
  3. On the left, click on Language.
  4. In the right pane, click on the Administrative language settings link.
    Windows 10 See Current Locale

  5. In the Region dialog, click on the Administrative tab.
  6. You’ll find the current system locale under the Language for non-Unicode programs section.
    Windows 10 Find Current Locale

Alternatively, you can access the same option with the classic Control Panel app. Open the classic Control Panel and navigate to Control Panel\Clock and Region. Click on Region and switch to the Administrative tab.

Windows 10 Current Locale Control Panel

Another method you can use to find the system locale is a special PowerShell applet, Get-WinSystemLocale.

Find The Current System Locale with PowerShell

  1. Open PowerShell as Administrator.Tip: You can add «Open PowerShell As Administrator» context menu.
  2. Type or copy-paste the following command: Get-WinSystemLocale.
    Windows 10 Current Locale PowerShell

You can also use the classic command prompt to see the current system locale. Here’s how.

Find the System Locale with the Command Prompt

  1. Open a command prompt in Windows 10.
  2. Type or paste the following command: systeminfo.
  3. Besides other useful info, it contains the current OS locale:
    Windows 10 Current Locale Command Prompt

Finally, you can find the system locale information in the built-in msinfo32 tool.

Find the System Locale with the System Information app

  1. Press the Win + R hotkeys together on the keyboard and type the following command in your Run box: msinfo32.

  2. Click the System Summary section on the left.
  3. On the right, see the Locale value.

That’s it.

Related articles.

  • Force System UI Language as Display Language in Windows 10
  • Create Text Services and Input Languages Shortcut in Windows 10
  • Enable Language Bar in Windows 10 (classic Language Icon)
  • Find Default System Language in Windows 10
  • How to Copy Region and Language Settings in Windows 10
  • How To Change Display Language in Windows 10
  • How To Add a Language in Windows 10
  • Change Hotkeys to Switch Keyboard Layout in Windows 10

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won’t take a lot from you, but it will help us grow. Thanks for your support!

wmic — Как узнать языковую версию Windows

Чтобы быстро выяснить то, какую базовую языковую версию имеет Windows можно выполнить утилиту WMIC:

wmic os get locale, oslanguage, codeset
CodeSet Locale OSLanguage 1251 0419 1033

Видим, что в данном случае язык системы OSLanguage имеет код 1033, что значит English — United States, то есть система базово является англоязычной.

А вот таким образом будет выглядеть вывод утилиты в случае выполнения на локализованной русскоязычной версии:

wmic os get locale, oslanguage, codeset
CodeSet Locale OSLanguage 1251 0419 1049

Найти полный перечень языковых кодов можно, например в документе Microsoft Locale ID Values


Проверено на следующих конфигурациях:

Версия ОС
Window Server 2012 R2 Standard
Window 10 (1703) Professional

Автор первичной редакции:
Алексей Максимов
Время публикации: 20.01.2018 12:54

Сообщение от Dragokas

Вы вообще читать умеете?
Я уже третий раз пишу вам что Default user это не HKU\.Default, и данные не копируются из HKU\.Default и даже привёл вам выше 3 статьи, одна из которых от разработчика Microsoft

Хе-хе-хе. Да, я как раз читал рецензию в блоге от Майкрософт, правда читал поверхностно, без переводчика. Ну английский я читать умею и понимаю чуток без переводчиков. Но в даном случае я немного не так понял, вот выдержка из текста:

Unfortunately, the name .Default has led people to believe that this user’s settings are the basis for new user profiles. In retrospect, calling it .Default was probably a bad decision. It just gave people the wrong idea. Here’s one customer that was faked out:

Из чего я понял, что name .Default — это this user's settings и что берётся как основная база при создании нового профиля the basis for new user profiles.
Теперь я перевёл это в Гугль-переводчике и вот что получилось:

К сожалению, имя .Default заставило людей поверить, что настройки этого пользователя являются основой для новых пользовательских профилей. Оглядываясь назад, называя это .Default, вероятно, было плохим решением. Это просто дало людям неправильную идею. Вот один из подделок:

Ну в принципе теперь я немного понял, на этом зацикливаться не надо, т.к. что откуда и чего не так уж важно, хотя вы упорно хотите донести до меня это. Я вас понимаю, как тяжело разговаривать с непонятливым юзером

Сообщение от Dragokas

поставьте на системе с ЛЮБЫМ языком настройку «Язык для программ, не поддерживающих юникод» => Английский и вы получите крякозябли, и указанный вами параметр вас никак не спасёт. Опять повторю своё замечание: это актуально только для программ с не-юникодными контролами. Остальные будут нормально отображать русский при любых настройках языков.

Ну вы размышляете со своей колокольни, а у меня голова болит о своём. Конечно же я запускаю программу, поддерживающую юникод, конечно я это проверил, что она на любом языке системы будет правильно отображать английский язык в программе. И так же, я намеренно указал, что батник сохранён в кодировке cp866, которая диалоги отображает и на русском языке (при условии локали ru-RU) и на английском языке на любых других локалях.

Для меня важно только одно — чтобы русскоязычные пользователи, то бышь у которых установлена русская Windows, видели сообщения в консоли на русском и, чтобы запускалась русская версия программы. А нерусская локаль, чтобы выводила в консоль английские диалоги и запускалась английская версия программы. Вот и всё. Дело в том, что прогой будут пользоваться обладатели игровых консолей, т.е. просто дети, играющие в игрушки, поэтому они не понимают простых английских предложений и надписей на кнопках в программе.

То есть, все остальные махинации с реестром, тем более так глубоко, для меня на данный момент не так уж важно.
Прогу я уже собрал и выложил, несколько юзеров потестили её по моей просьбе, от остальной сотни скачавших пока никаких жалоб не поступало. Пока что все говорят, что язык системы отрабатывает правильно, как русский, так и английский. Так что проблем с отлавливанием языковых параметров Windows я пока не вижу.

Сообщение от Dragokas

И вы снова пытаетесь подставить параметры, которые не меняются при переключении языка для диалогов.
Мой выложенный код это учитывает, и если параметр не существует, то читается следующий параметр.

И всё-таки, я решил использовать последний мною выложенный код, хотя там два параметра перекликаются «Local» и «LocalName», просто в разных системах координат. И он отрабатывает нормально и безошибочно (пока), я почему-то уверен, что нужно использовать именно их и этого вполне достаточно.
Насчёт PreferredUILanguages у меня большие сомнения в необходимости его включать и проверять, т.к. я писал уже, что у меня он отсутствует, как может отсутствовать и других.



0



View the System Locale settings for Windows

  1. Click Start then Control Panel.
  2. Click Clock, Language and Region.
  3. Windows 10, Windows 8: Click Region. …
  4. Click the Administrative tab. …
  5. Under the Language for non-Unicode programs section, click Change system locale and select the desired language.
  6. Click OK.

How do I find my system locale?

Open the classic Control Panel and navigate to Control Panel\Clock and Region. Click on Region and switch to the Administrative tab. Another method you can use to find the system locale is a special PowerShell applet, Get-WinSystemLocale.

What is an example of a locale?

A locale is the specific place where something happens. If you dream of a trip to some tropical locale, Hawaii, Belize, and Costa Rica might all be on your wish list.

How do I set locale settings?

Procedure

  1. Windows: Click Start > Settings > Control Panel. Double-click Regional Settings (or Regional Options). Select the appropriate language (locale) from the drop-down list. …
  2. UNIX: Use the ‘locale’ command to list the current locale settings for the session. For example: Code:

What is locale in Windows?

The locale of a platform defines the display format for information like time, date, and currency. On macOS and Linux® platforms, the locale also defines the language of your user interface. On Windows® platforms, the display language defines the language of your user interface.

Windows 11 — How To Change System Locale — (Quick & Easy)

How do I change my country and region on my computer?

Change your country or region in Microsoft Store

  1. Select Start > Settings > Time & Language > Language & Region.
  2. Under Country or region, select your new region.
  3. You can switch back to your original region at any time.

What is the default locale?

The default locale specifies the following information: The U.S. English language and an English-language code set. Standard U.S. formats for monetary, numeric, date, and time data.

Where is the locale file?

A locale is a set of information that most programs use for determining country and language specific settings. The locales and their data are part of the system library and can be found under the /usr/share/i18n/locales/ directory on most systems.

How do I change locale settings in Windows 10?

Select Start > Settings > Time & language > Language & region. Choose a language from the Windows display language menu.

What is your locale?

In computing, a locale is a set of parameters that defines the user’s language, region and any special variant preferences that the user wants to see in their user interface. Usually a locale identifier consists of at least a language code and a country/region code.

Does locale mean location?

: a place or locality especially when viewed in relation to a particular event or characteristic. chose a tropical island as the locale for their wedding. 2. : site, scene. the locale of a story.

What is the current locale?

The current locale determines the behavior of locale-based numeric-edited, locale-based date and time data items, and locale intrinsic functions, that do not specify a locale mnemonic-name. The current locale can be set explicitly using the SET LOCALE statement.

Is locale the same as location?

Location is the position of a particular point on the surface of Earth. Locale is the physical setting for relationships between people, such as the South of France or the Smoky Mountains. Finally, a sense of place is the emotions someone attaches to an area based on their experiences.

How do I change the locale on my phone?

Change the language on your Android device

  1. On your Android device, tap Settings .
  2. Tap System Languages & input. Languages. If you can’t find «System,» then under «Personal,» tap Languages & input Languages.​
  3. Tap Add a language. and choose the language that you want to use.
  4. Drag your language to the top of the list.

What is locale in Windows 10?

In this article

Locale refers to country/region and language settings that you can use to customize your program.

What is file locale?

A locale file allows merchants to translate their product information using a set of translated text strings that are available in multiple languages, such as English, Spanish, Italian, etc. You can leverage a locale file to translate any type of content displayed in your storefront.

What is the locale code format?

Each locale code consists of the language code and country arguments. The language argument is a valid ISO Language Code . These codes are the lower-case, two-letter codes as defined by ISO-639 . The country argument is a valid ISO Country Code .

What is the command for system locale?

The Set-WinSystemLocale cmdlet sets the system locale for the current computer. The System-locale setting determines which code pages, which include ANSI, DOS, and Macintosh, the computer uses by default.

What is locale in code?

A program’s locale defines its code sets, date and time formatting conventions, monetary conventions, decimal formatting conventions, and collation (sort) order. A locale name can be composed of a base language, country (territory) of use, and codeset.

What is a locale in computer?

Locale (computer software), a set of parameters that defines the user’s language, region and any special variant preferences that the user wants to see in their user interface—usually a locale identifier consists of at least a language identifier and a region identifier.

Is locale short for location?

Locale is used to refer to the physical environment of a place, while locality is used to refer to the general area or region of a place. Location is used to refer to the exact spot or address of a place. All three terms can be used to describe a place, but they each have their own distinct definition.

Why does my PC think I’m in another country?

Your PC location might be wrong because you don’t have Location Settings enabled, or because you’re connected to a VPN server. How do I change my location on my laptop? To change your location on your laptop, connect to a VPN server in another location, which will hide and change your device’s IP address.

Where do I change my region?

If you change your country, you’ll need to wait a year to change it again.

  1. On your Android device, open the Google Play Store app .
  2. At the top right, tap the profile icon.
  3. Tap Settings General Account preferences. Country and profiles.
  4. To change countries, tap the name of the one you want to change to.

Why does my computer say I’m in a different country?

Google is interpreting your IP as belonging to a different country from the one you have selected due to discrepancies in IP databases. Google could also be attempting to interpret your location using methods other than your IP. The mismatched location does not suggest your VPN is not working.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Ошибка van 9001 valorant windows 11
  • Программа для предпросмотра фото windows 10
  • Start mysql server windows
  • Windows cmd delete directory
  • Что надо отключить в windows 10