How to make result values of formula property types translatable.
Master shape names do not match class names, but master shape names (results) have to be in the current DB language.
In this case, the additional translatable property should represent the master shape name.
- Create the Enum property type “ActivityTypeGlobal”. Add the
necessary Enum items with the translations. In this case these
are the master shape names.
- Create the Formula property type “ActivityTypeMastershape”. The
formula text uses Enum identifiers (0, 1..) of the
property “ActivityTypeGlobal” for identifying result values.
Since Enum identifiers do not depend on the current DB language, they can be used to make the Mastershape name appear in the current DB language.