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.
Difference between revisions of "Scout/SDK/NLS Editor"
(→Actions) |
m (modify link) |
||
Line 20: | Line 20: | ||
== Modified files == | == Modified files == | ||
− | The mapping between the properties files is registred in the {{ScoutLink|Concepts|Text Provider | + | 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.properties</code> (default languages) | ||
* <code><your app>.shared/resources/text/Texts_de.properties</code> for german | * <code><your app>.shared/resources/text/Texts_de.properties</code> for german | ||
Line 28: | Line 28: | ||
== See also == | == See also == | ||
* {{ScoutLink|Concepts|Texts}}: use translated text in your code. | * {{ScoutLink|Concepts|Texts}}: use translated text in your code. | ||
− | * {{ScoutLink|Concepts|Text Provider | + | * {{ScoutLink|Concepts|Text Provider Service}}: the service providing the translated texts. |
* {{ScoutLink|Concepts|Shared Plug-In|Shared Plug-In}} | * {{ScoutLink|Concepts|Shared Plug-In|Shared Plug-In}} |
Revision as of 05:14, 16 July 2014
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 The Scout documentation has been moved to https://eclipsescout.github.io/., expand Text Provider Services and click on DefaultTextProviderService. Click the link Open NLS Editor... in the The Scout documentation has been moved to https://eclipsescout.github.io/..
Screenshot
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 The Scout documentation has been moved to https://eclipsescout.github.io/.. 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
- The Scout documentation has been moved to https://eclipsescout.github.io/.: use translated text in your code.
- The Scout documentation has been moved to https://eclipsescout.github.io/.: the service providing the translated texts.
- The Scout documentation has been moved to https://eclipsescout.github.io/.