since ‎20-01-2021
‎12-02-2021
rakesh4
Level 1
Re: How to access i18n strings in ReactJS Component
Avatar

raj_mandalapu

MVP

raj_mandalapu
- Adobe Experience Manager
Hi Rakesh, You are building a non-SPA project, so you can use the below node modules, the react itself has an i18n module, so you can try it for multilingual. you need to manage all translations in the JSON inside the public folder something like this /public/locales/en/translation.json Why I am proposing this, the translation's will not change very frequently, even if it changes also in AEM you need to get developer help to update and send it as JSON format, I feel instead of writing exporting ...

Views

142

Like

1

Replies

0
Re: Use ReactJS Components in Non SPA website
Avatar

rakesh4

rakesh4
- Adobe Experience Manager
Hi @Umesh_Thakur,I was able to get it working with author-able content and without using any extra library. Thanks again for your direction.

Views

215

Likes

0

Replies

0
Likes given to