Wiki source code of localization
Last modified by Manuel Leduc on 2026/08/26 11:54
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The [[Localization Module>>doc:extensions:Extension.Localization.WebHome]] resolves the translations of the user interface on the server side, and these pages document its front-end counterpart: the npm packages defining and implementing the client-side resolution of translation keys, and the WebJar exposing it to the JavaScript running in the browser. | ||
| 2 | |||
| 3 | * [[Front-end Localization WebJar>>doc:documentation.xs.dev.front-end.localization.webjar.WebHome]] gives browser code a resolver bound to the current wiki, and the ##xwiki-l10n## RequireJS loader plugin. | ||
| 4 | * [[Front-end localization API>>doc:documentation.xs.dev.front-end.localization.api.WebHome]] defines the ##Query##, ##Resolver##, ##Translations## and ##Translator## types. | ||
| 5 | * [[Front-end localization default>>doc:documentation.xs.dev.front-end.localization.default.WebHome]] combines a chain of translators into a resolver. | ||
| 6 | * [[Front-end localization resolver XWiki REST>>doc:documentation.xs.dev.front-end.localization.resolver-xwiki-rest.WebHome]] resolves translation keys through the XWiki REST API. | ||
| 7 | * [[Front-end localization Vue adapter>>doc:documentation.xs.dev.front-end.localization.adapter-vue.WebHome]] exposes a resolver as a vue-i18n translation function. |