Skip to main content
February 7, 2023
Solved

Sling model for reading i18n language json's and export the data as json

  • February 7, 2023
  • 1 reply
  • 959 views

I need help for creating a Sling model for reading i18n language json's and export the data as json to frontend.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ritesh_Mittal

Hi @vanshgg ,

 

Just check below thread. Though you need to change it to service which you can invoke from Sling Model and return from one of the getter. And, may be try using Sling APIs instead.

 

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-get-aem-i18n-dictionary-in-json-format-aem-community-blog/m-p/381542

 

Thanks,

RItesh Mittal

1 reply

Ritesh_Mittal
Adobe Champion and Community Advisor
Ritesh_MittalAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
February 7, 2023

Hi @vanshgg ,

 

Just check below thread. Though you need to change it to service which you can invoke from Sling Model and return from one of the getter. And, may be try using Sling APIs instead.

 

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-get-aem-i18n-dictionary-in-json-format-aem-community-blog/m-p/381542

 

Thanks,

RItesh Mittal