Reference culture and native variables
Reference culture
What is a reference culture?
The reference culture is the language in which you initially wrote your template, before you added any eventual translations.
How to define the reference culture of a template?
The reference culture is configured at design time:
- Select the root item in the tree-view of the template report and go to Properties:

- Edit the "Culture" property in the "Globalization" section:

How is the reference culture used?
The reference culture is important for having consistent reports : for instance it specifies in what language the native variables should be localized (and prevent having mixed content, by using hardcoded strings in some places and using the user's locale in others)
Native variables
What are native variables?
Native variables are available when editing a text label: {PageNofM} is a good example.

How do the native variables behave?
The culture used for localizing native Stimulsoft variables is inferred as follows:
- If no default culture is specified in the template, the culture of the end user will be used for localizing the native variables.
- If a default culture is specified, the culture of the end user will be explicitly used only if at least one string have been translated, for that language, in the template.
- Otherwise the default culture specified in the properties of the template will be used.