major
minor
defect
major
minor
- Normalize resources generated from JavaDoc directly.
- Normalize project resources using a Maven goal.
- Translate project resources using a Maven goal.
Improvement
Normalize Resources
There is a new launch-config called " Normalize Resources" that is expanded into all apps via the archetype. This launch-config invokes the Maven goal `tl:normalize ` on the current project and normalizes all of its resources.
All framework resources can be normalized by calling
mvn tl:normalize
in tl-parent-all. In a multi-module application, do this in its parent module.
Translate Resources
If a DeepL API key is stored in the tl.deepl.apiKey property, the system resources (extracted from the source code’s JavaDoc) are also automatically translated.
You can explicitly trigger the translation of a (source) resource file using the “Translate Resources” launch config. To do this, select the file to be translated and run the launch config. This causes the file to be translated into all languages for which resource files with the same filename prefix are located in the same directory.
The Maven goal ` translate ` is used for this:
mvn tl:translate -DsourcePath=<file-to-translate_lang.properties>
Test
- Denormalize the resource file.
- Select a project or a file within the project and call the " Normalize Resources " launch config.
- Verify that the change has been rolled back.