Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
5.4
-
None
Description
Content that is rendered in the client from JavaScript modules is quite hard to internationalize.
Either you can manually create a messages JSON object and pass it to the client via data attributes or the init function or you can add all the strings to the core message catalog and require that.
The latter is not possible for component libraries though as they do not have a message catalog.
The former is not possible for "utility" modules that do not have an associated Java class.
This could be solved by creating a virtual message module for every JavaScript module that has a corresponding .properties file next to it.
Attachments
Issue Links
- relates to
-
TAP5-1140 Extend the support for JS localization from within the framework to users of the framework.
- Closed