6.5.2 Format of plug-in resource files
A plug-in resource file defines the items displayed in the JP1/AO user interface. The file has the following format:
The file name of the plug-in resource file is plugin_language-code.properties.txt.
language-code is a two-character language code (ja, en, or zh) as defined in ISO-639.
Define the file contents in the format property-key delimiting-character setting-value. As the delimiting character, you can use an equals sign (=), a colon (:), a tab character (\t), or a single-byte space.
For example, enter a definition in the format plugin.displayName=TestPlugin.
Enter one property key and setting per line.
Property keys can be 1 to 128 characters long, and can contain the following characters:
Single-byte alphanumeric characters
Single-byte hyphens (-)
Single-byte underscores (_)
Single-byte periods (.)
Characters must be encoded in UTF-8.
If you define the same property key in the file more than once, the value of the last occurrence of the property key applies.
Lines that begin with a hash mark (#) are handled as comments.
Property keys are case sensitive.
To specify a character string that contains a forward slash (\), specify two forward slashes (\\) instead.
Lines that consist only of single-byte spaces are ignored.
On each line of the plug-in resource file, the property key is the character string from the first character that is not a single-byte space to the character immediately preceding the first delimiting character.
The setting value is the string from the first non-delimiting character after the delimiting character following the property key to the last character of the line.
For example, the following line represents the property key abc with the setting value =\tc:
abc\t=\tc
However, if the character immediately following the first delimiting character is = or :, the setting value is the character string from the next character that is not a single-byte space or \t to the end of the line.
For example, the following line in the plug-in resource file represents the property key abc with the setting value =\tc:
abc\t=\t=\tc
Surrogate pair characters are ignored.