Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Scout/SDK/NLS Editor"

< Scout‎ | SDK
m (modify link)
(Replaced content with "The Scout documentation has been moved to https://eclipsescout.github.io/.")
 
Line 1: Line 1:
{{ScoutPage|cat=SDK}}
+
The Scout documentation has been moved to https://eclipsescout.github.io/.
 
+
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.
+
 
+
== Open the editor ==
+
Expand the ''shared'' node of the Eclipse Scout project in the {{ScoutLink|SDK|Explorer View}}, expand ''Text Provider Services'' and click on ''DefaultTextProviderService''. Click the link '''Open NLS Editor...''' in the {{ScoutLink|SDK|Object Properties View}}.
+
 
+
== Screenshot ==
+
[[Image: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 [http://marketplace.eclipse.org/content/docx4j-eclipse-scout Marketplace] (requires Eclipse Scout SDK 3.9 or higher).
+
 
+
== Modified files ==
+
The mapping between the properties files is registred in the {{ScoutLink|Concepts|Text Provider Service}}. Per default the files are:
+
* <code><your app>.shared/resources/text/Texts.properties</code> (default languages)
+
* <code><your app>.shared/resources/text/Texts_de.properties</code> for german
+
* <code><your app>.shared/resources/text/Texts_fr.properties</code> for french
+
* and so on for other langages
+
 
+
== See also ==
+
* {{ScoutLink|Concepts|Texts}}: use translated text in your code.
+
* {{ScoutLink|Concepts|Text Provider Service}}: the service providing the translated texts.
+
* {{ScoutLink|Concepts|Shared Plug-In|Shared Plug-In}}
+

Latest revision as of 05:29, 14 March 2024

The Scout documentation has been moved to https://eclipsescout.github.io/.

Back to the top