Hi Ankur,The dictionaries do have the keys TEST-001, TEST-002, TEST-003 during runtime, as I can retrieve those values via JSP. I can even modify the values and see those changes come in via JSP after a page refresh
Hi Joseph, How would I request the dictionary via AJAX? I can call Granite.I18n.getDictionary() and get an object back but I have no clue what this object is (have tried a bunch of the functions it has defined) but still can't get anything out of it.
Hi Anton, Yes, I'm able to successfully use i18n using JSP, but we're looking to dynamically retrieve the string via javascript rather than preloading the string on page render.
Hi Leandro,The relationship between String and EN is based on the translator library found in /libs/cq/i18n/translator.html.The String value is normally used as the lookup key in JSP or Sling and the EN is the actual translated value being returned if the locale is EN.Regardless, if I pass the "This...
Apologies for the duplicate post. Seems like something in the original is breaking the page, so I'll try this again:I'm trying to dynamically retrieve a translated message using Javascript from my created dictionary in AEM's translator (/libs/cq/i18n/translator.html).We've got dictionary values set ...