Difference between revisions of "User:Alvinhochun/Localization"

From ReactOS Wiki
Jump to: navigation, search
Line 5: Line 5:
* [[/GDI Font Linking/]]
* [[/GDI Font Linking/]]
* [[/IME/]]
* [[/IME/]]
* [[/Uniscribe/]]
* <strike>[[/Uniscribe/]]</strike> (Not sure if I will cover this)
== Glossary ==
== Glossary ==

Revision as of 10:00, 7 May 2015

My notes on Internationalization and Localization.




Short for Multilingual User Interface.

XP: MUI Pack(s) can be installed only on the English build, which seems to enable certain hacks in the system in order to support loading of localized resources. The MUI files are installed under %SystemRoot%\mui\FALLBACK\<LCID>\ with the filename <MODULE_NAME_WITH_EXT>.mui. TODO: Check if it is really called LCID A combobox is also enabled in the "Languages" tab of intl.cpl for selecting the display language.

Vista and 7: Language packs can be installed via Windows Update for Ultimate and Enterprise edition. The display language can be changed via a combobox in the "Keyboards and Languages" tab of intl.cpl. The mui files are installed under the <LANGUAGE_NAME>\ directory in the directory where the module is located, with the filename <MODULE_NAME_WITH_EXT>.mui. Unlike XP, most of the modules only contain the language-neutral resources instead of those native to the installed SKU TODO: What is a SKU?. Language-specific resources are all inside the MUI files. Despite this, the language of the installed SKU is still a thing for backwards-compatibility. [Citation Needed]

Microsoft apparently owns a patent on this: US Patent 6252589

MUI file

A file in the PE executable format, except only containing resources.

TODO: Document more on this and the differences for before and after Vista.

User Locale, System Locale, UI Language

Note: I am unsure if the information here is accurate.

User Locale

Date formats, number formats, digit substitution, etc., for the current user or "system wide".

When the setting is applied "system wide", it is actually applied to the following user profiles[1]:

  • The NetworkService profile
  • The LocalService profile
  • The Default User profile (used as the template for all new user accounts created on the machine)
  • The .DEFAULT profile (used for the LocalSystem account)

System Locale

Also called "Language for non-Unicode programs" under intl.cpl since XP.

Sets the ACP and OEMCP. TODO: What about MACCP? Also changes stuff about font linking and font substitution. Not sure if it fiddles with the input languages and IMEs.

GDI loads localized font names according to this setting.

UI Language

The language that the UI is displayed in. Affects resource loading. See #MUI

It can also be set for the current user and "system wide" like the user locale.