Skip to main content

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.

Jump to: navigation, search

Scout/Concepts/Texts

< Scout‎ | Concepts
Revision as of 08:54, 31 January 2012 by Unnamed Poltroon (Talk)

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

Note.png
TODO
Add a 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

Back to the top