Source string files

A source string file contains localized string definitions for a given language (or localization context). It is basically a mapping table that defines an identifier for each string. After compiling source string files, the programs can load and use a string found according to its identifier (or key).

By convention, the source files of localized strings have the .str extension.

Defining a string

You define a list of string identifiers, and the corresponding text, by using the following syntax:
"string-identifier" = "string-text"
For example:
"common.button.cancel" = "Cancel"

Special characters

The fglmkstr compiler accepts the backslash "\" as the escape character, to define non-printable characters:

\l   \n   \r   \t   \\

Example

"id001" = "Some text"
"this.is.a.path.for.a.very.long.string.identifier" = "Customer List"
"special.characters.backslash" = "\\"
"special.characters.newline" = "\n"