Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Scout/Concepts/Texts
The Scout documentation has been moved to https://eclipsescout.github.io/.
Texts is a class used for the localization of the texts in the user interface.
Description
Texts.get("persons");
- TODO: explain the properties text files.
It is possible to use some Parameters:
String name = "Bob"; int age = 13; Texts.get("NameWithAge", name, age);
In this case, some placeholders for the parameters are needed in the translated text:
NameWithAge={0} is {1} years old;
See Also
- The Scout documentation has been moved to https://eclipsescout.github.io/.