Locales and localization, Localized mof files – Dell Intel PRO Family of Adapters User Manual

Page 14

Advertising
background image

Back to Contents Page

Locales and Localization: Intel® PRO Network Adapters WMI

and CDM Providers User Guide

Localized MOF Files

Localized Attribute Data

There are two aspects to WMI and CDM Provider localization — localized MOF files and localized attribute data.

Localized MOF Files

All the MOF files used by the Providers are localized according to the Microsoft Windows* Management Instrumentation (WMI)

globalization model. To accomplish this, each class definition is separated as follows:

A language-neutral version that contains only the basic class definition in the .mof file.

A language-specific version that contains localized information, such as property descriptions that are specific to a

locale in the corresponding .mfl file.

Supported Languages

Chinese (Taiwan)

Chinese (PRC)

Danish

Dutch (Netherlands)

English (United States)

Finnish

French (France)

German (Germany)

Italian (Italy)

Japanese

Norwegian (Bokmal)

Portuguese (Brazil)

Spanish (Spain - Modern)

Swedish

Class Storage

The language-specific class definitions are stored in a child sub-namespace beneath the namespace that contains a language-

neutral basic class definition. For example, for the WMI and CDM Provider, a child namespace ms_409 will exist beneath the

root/Intelncs namespace for the English locale. Similarly, there exists a child sub-namespace for each supported language

beneath the root/Intelncs namespace.

Localized MOF Support in cimv2 Namespace

For root/cimv2 namespaces, the Providers' classes (i.e., IANet_ classes) are derived from base classes added to this

namespace by WMI. A sub-namespace with language-specific class definitions for base classes pre-exist beneath the

root/cimv2 namespace. The IA_Net language-specific class definitions will be added to this existing child namespace. Due to

this dependency on base classes, MOF localization is done only in the default system locale.

Runtime Support

To retrieve localized data, a WMI application can specify the locale using a strLocale parameter in

SWbemLocator::ConnectServer and IWbemLocator::ConnectServer calls. If the locale is not specified, the default locale

for that system will be used. (e.g. MS_409 for US English). This locale is used to select the correct namespace when adding in

the English strings.

In addition, IWbemServices::GetObject, SwbemServices.GetObject, IWbemServices:: ExecQuery, and

14

Advertising