[xwiki/xwiki-platform] 3bd9cb: XWIKI-24742: The locale of a client-side translati...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 3bd9cb976eebe6b960d7862b884c9b38ff333333 https://github.com/xwiki/xwiki-platform/commit/3bd9cb976eebe6b960d7862b884c9... Author: Manuel Leduc <[email protected]> Date: 2026-08-27 (Thu, 27 Aug 2026) Changed paths: A xwiki-platform-core/xwiki-platform-node/src/main/node/core/livedata/livedata-xwiki/src/translations.test.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/core/livedata/livedata-xwiki/src/translations.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/core/localization/localization-adapters/localization-adapter-vue/src/__tests__/index.test.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/core/localization/localization-adapters/localization-adapter-vue/src/index.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/core/localization/localization-default/src/__tests__/index.test.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/core/localization/localization-default/src/index.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/core/localization/localization-resolvers/localization-resolver-xwiki-rest/src/__tests__/index.test.ts M xwiki-platform-core/xwiki-platform-node/src/main/node/core/localization/localization-resolvers/localization-resolver-xwiki-rest/src/index.ts Log Message: ----------- XWIKI-24742: The locale of a client-side translation query is ignored * Forward the query locale from the default resolver to the translators * Key the XWiki REST translator cache by locale, and by locale the inflight request deduplication * Return only the translations of the query instead of the shared mutable cache * Resolve the translations in the adapter locale in useI18nAdapter and in the livedata translations builder To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications