Details
-
Improvement
-
Resolution: Won't Fix
-
Major
-
None
-
18.3.0
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Currently, the client-side localization offers two adapters.
- The legacy requirejs one https://extensions.xwiki.org/xwiki/bin/view/Extension/Localization/#HFromJavaScript
- The vue adapter https://www.xwiki.org/xwiki/bin/view/documentation/xs/dev/front-end/localization/adapter-vue/
But, in the context of an es module code base, the only available option is to wrap the requirejs in a promise, which still make the code dependant of requirejs, and consequently not portable outside XWiki.
Attachments
Issue Links
- is related to
-
XWIKI-24742 The locale of a client-side translation query is ignored
-
- Closed
-