Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.1

...

You can externalize any field label for a custom extension displayed in the GUI to support different languages. This is done by providing property files for each language that needs to be supported. Based on the language of the user, the Java Runtime will search for the corresponding resource bundle using language identifiers. If a certain language identifier is not provided, the Java runtime will fall back to the next general resource bundle.

For example:

  • parasoft-extension.properties: default language file if nothing else is available
  • parasoft-extension_de.properties: used for German
  • parasoft-extension_en.properties: used for English
  • parasoft-extension_ja.properties: used for Japanese

Strings in the parasoft-extension.xml are externalized to these Property files using %key notation. For example, the form section of an XML file might look like this:

...