Sling model for reading i18n language json's and export the data as json | Community
Skip to main content
New Participant
Feb 7, 2023 6:59 AM UTC
Solved

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

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.
Ritesh_Mittal
Ritesh_MittalAccepted solution
New Participant
Feb 7, 2023 8:54 AM UTC

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
Ritesh_MittalAccepted solution
New Participant
Feb 7, 2023 8:54 AM UTC

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

Translate