DefaultLocale: LocaleCodeID;
The DefaultLocale property determines repository language by default.
The default language is used for displaying names of objects, that do not have a name in the language, that is used when connecting to the repository. If an object has no name neither in language by default nor in the language, used when connecting to the repository, the repository language that was set when creating an object is used for displaying the name.
Add a link to the Metabase system assembly.
Sub UserProc;
Var
MB: IMetabase;
Begin
MB := MetabaseClass.Active;
MB.DefaultLocale := LocaleCodeID.English_UnitedStates;
End Sub UserProc;
After executing the example English (USA) is selected as a default language for the current repository. This value is applied and is saved in repository DB.
See also: