Sling model for reading i18n language json's and export the data as json | Community
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
  • 942 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
Community Advisor and Adobe Champion
Ritesh_MittalCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
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