The culture settings of InRule are saved with a baseline of default English (United States) settings. At runtime or during authoring, the culture-specific formatting for dates, datetimes, and numbers are translated into the Windows settings defined by the user session for the operating system. This is true throughout InRule for the authoring of rules in irAuthor, testing of rules in irVerify, and the execution of rules in irServer.
How irAuthor and irVerify Handle Culture Settings
Generally speaking, a user can author rules in one culture format and see the formats displayed that are specific to other cultures. When that rule application is saved, InRule translates relevant data to the assumed English (United States) default for storage. Opening the rule application in a different Windows culture setting will result in those relevant formats being translated from the English (United States) baseline into the culture settings of the current user. This allows for portability of the rules/ entity model (rule application) and provides independence from conflicting user settings.
Some authoring considerations for Dates, DateTimes and Numbers are as follows:
- Multiple argument functions require quotes around European formatted numbers because comma is the separator for function arguments. For example, Round(number,digits) in European format must be entered as Round(‘1000,987’,2). The English (United States) default equivalent is Round(1000.987,2).
- Data stored as date, datetime, or number types will display in culture specific settings in inline tables. Date/datetime/number values stored in a text type column are not adjusted per culture setting.
Please sign in to leave a comment.