Quick search:


How to make property labels in a different language

A property label is how a property name is presented in the user interface. It does not affect the naming of the property anywhere else.

You can set a property label in a different language by getting a reference to the propertyDescriptor and setting its label. You only need to do this once, propertyDescritors are cached as long as your script runs. You can do this by overriding the initPropertyDescriptors method within a code management scheme. For an example see example 10.

Alternatively you may make initPropertyDescriptors reed the labels from a file or a database, depending on the language used.