Plugin source location: <serge_root>/lib/Serge/Engine/Plugin/parse_properties.pm
This parser extracts strings from files in Java .properties format.
Note that .properties files don't have an official way to provide context or comments for localized strings. This plugin supports special #.flag
and #.param=value
comment lines that affect the key=value line that goes immediately below it. For example, #.internal
allows one to prevent certain strings from being extracted for translation, #.context=value
sets the context for the string, and one or more #.comment=comment line
lines define a comment that will be extracted and associated with the string. All other (unknown) flags are appended as hashtags to the hint; in other words, #.myhashtag
is equivalent to #.comment=#myhashtag
line. If there's a blank line between such special comments and a key=value line, these comments are discarded.