Profile/Linguistic Variables Category

The Linguistic Variables category contains templates, which specify grammar rules to help build the report item templates.

Examples of grammar rules include the plural form of a noun, and the correct definite article that must precede a noun. For more informations, see Profile/Report Item Templates category.



Specifying appropriate grammar rules for your language, and inserting them into your report item templates will dramatically improve the quality of the automatic generation of your report titles. You can create as many variables as your language requires.

Each linguistic variable and the result of its evaluation is displayed for each metaclass in the Object Attributes category (see Object Attributes category).

The following are examples of grammar rules specified as linguistic variables to populate report item templates in the French report language resource file:

.if (%.-1:@Value% == e)
F
.else
M
.endif

For example: la table, la colonne, le trigger.

.if (%.-3:@Value% == eau) or (%.-2:@Value% == au)
%@Value%x
.else
%@Value%s
.endif

For example: les tableaux, les tables, les entités.

.if (%.1U:@Value% == A) or (%.1U:@Value% == E) or (%.1U:@Value% == I) or (%.1U:@Value% == O) or (%.1U:@Value% == U)
l'%@Value%
.elsif (%GENDER% == M)
le %@Value%
.else
la %@Value%
.endif

For example: l'association, le package, la table.

.if (%.1U:@Value% == A) or (%.1U:@Value% == E) or (%.1U:@Value% == I) or (%.1U:@Value% == O) or (%.1U:@Value% == U) or (%GENDER% == F)
de %THECLSSNAME%
.else
du %@Value%
.endif

For example: de la table, du package.

.if (%.1U:@Value% == A) or (%.1U:@Value% == E) or (%.1U:@Value% == I) or (%.1U:@Value% == O) or (%.1U:@Value% == U)
d'%@Value%
.else
de %@Value%
.endif

For example: d'association, de table.