Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-dictio...

 

Thanks,

RItesh Mittal

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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-dictio...

 

Thanks,

RItesh Mittal