Localizing a Class

[This is preliminary documentation and subject to change.]

CIMOM supports the localization of the following WBEM class elements:

These elements can be localized whether a class was created using the Managed Object Format (MOF) language or the CIMOM API.

There are three steps to localizing a system or custom class:

  1. Build a translation table by creating an instance of the system class __Lexicon.
  2. Bind the class or particular element to be localized to the translation table by attaching the Lexicon qualifier.
  3. Specify the original language of the class or particular element to be localized by attaching the Locale qualifier.

Some derived classes can use the same translation tables as their superclasses. If the derived class inherits all of its properties from the superclass and does not add new ones, it can use the translation table or the superclass. A derived class that introduces new properties must define its own translation table.