This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-675119a7-c587-45ae-9d8b-1079d1956b5d XWIKI-24741 Open

Provide a localization adapter for ES modules

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1867131c-4a10-4fc2-b5f7-891045d29859 Manuel Leduc created this issue on 26/Aug/26 11:36
 
Summary: Provide a localization adapter for ES modules
Issue Type: cid:jira-generated-image-avatar-675119a7-c587-45ae-9d8b-1079d1956b5d Improvement
Affects Versions: 18.3.0
Assignee: Unassigned
Components: Localization
Created: 26/Aug/26 11:36
Priority: cid:jira-generated-image-static-major-e64c4152-31ac-4189-932f-3986a409a8d0 Major
Reporter: Manuel Leduc
Description:

Currently, the client-side localization offers two adapters.

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.