Scout/SDK/NLS Editor

From Eclipsepedia

< Scout‎ | SDK
Jump to: navigation, search


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitter
Bugzilla
Bugzilla


The NLS Editor allows to edit the different properties files containing the translated text entries. It is a efficient way to edit all the property files for multilingual texts in one go.

Contents

Open the editor

Expand the shared node of the Eclipse Scout project in the Explorer View, expand Text Provider Services and click on DefaultTextProviderService. Click the link Open NLS Editor... in the Object Properties View.

Screenshot

Scout-NLS.PNG

Actions

  • Refresh
  • Show NLS entry usage
  • New entry...
  • New language...
  • Import...
  • Export...

Import Export requires Docx4j that can be installed with the Marketplace (requires Eclipse Scout SDK 3.9 or higher).

Modified files

The mapping between the properties files is registred in the Text Provider Service. Per default the files are:

  • <your app>.shared/resources/text/Texts.properties (default languages)
  • <your app>.shared/resources/text/Texts_de.properties for german
  • <your app>.shared/resources/text/Texts_fr.properties for french
  • and so on for other langages

See also