Locale: LocaleCodeID;
The Locale property returns identifier of the name language.
The example of use is given in description of IMetabaseObjectName.IsDefault.
See also:
IMetabaseObjectName