Generic parser settings
All parsers have generic parser settings.
Placeholders
Placeholders are regular expressions that specify how variables in UI texts are defined in a project. Selected regular expressions that contain default pattern definitions are assigned in each parser. For example, in JSON, a variable could be defined as
{{name}}
.When Rigi captures HTML Previews, it recognizes those variables and can replace them with the actual value when strings containing those variables are presented in a Rigi HTML Preview.
additionalPlaceholders
Each line in this setting contains a definition of a regular expression which is used to define a placeholder.
Example regular expression:
\{\d\}
.ignoreSignatures
Some strings in resource files, such as product names and version numbers, should not be translated.
Unfortunately, developers sometimes place these strings in the resource files with translatable strings.
A developer or a project manager can lock these untranslatable strings so they are excluded from the translation task.
You can exclude strings from translation in one of the following ways:
Signature code
A Rigi token has a unique identifier, which is a 64-bit unsigned long integral numerical type (
ulong
).757564638324325445
StringID
A string ID can also be used to prevent the translation of certain strings. Example:
A string has fileID 'xyz'. If the address’s ZIP code and number should not be translated, the following can be defined.
xyz.address.zipcode
xyz.address.number
StringID + replacement
Assume that a string has fileID 'xyz'. Codes can be replaced with something else:
xyz.version 42.0
This will replace the content of string 'xyz.version' with value '42.0'.