Comment
Provide Javascript API to retrieve single translations
09-08-2021
- Mark as New
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
| Request for Feature Enhancement (RFE) Summary: | There is an OOTB function CQ.I18n.getDictionary() to get translations, but it always gets the whole dictionary to the UI, which puts much load on the visitor's browser. This reuest is to provide a function that retrieves only the requested translations. E.g. it could accept key name(s) and language name as parameters. |
| Use-case: | Use localized strings in custom JS code on user-facing pages. |
| Current/Experienced Behavior: | |
| Improved/Expected Behavior: | |
| Environment Details (AEM version/service pack, any other specifics if applicable): | AEM 6.5 with SP8 |
| Customer-name/Organization name: | Veeam Software |
| Screenshot (if applicable): | |
| Code package (if applicable): |