Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Scout/Concepts/Texts
< Scout | Concepts
Revision as of 08:54, 31 January 2012 by Jeremie.bresson.unblu.com (Talk | contribs)
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/.