Skip to main content

We are using Sitecore 10.2 as headless (JSS) and nextjs for frontendthe front end.

When we try to call JSS API it is working with multiple languages.

https://{Sitecore}/sitecore/api/layout/render/jss/?item={ItemID}&sc_apikey={apiKey}&sc_lang={langcode}

https://{Sitecore}/sitecore/api/layout/render/jss/?item={ItemID}&sc_apikey={apiKey}&sc_lang={langcode}

But from the front when we try to call, it is working only for EN, not working for other languages. Gives 404 when I try to access for a different language. I guess we are missing something from the front end. Please let me know if we are missing something.

We are using Sitecore 10.2 as headless (JSS) and nextjs for frontend.

When we try to call JSS API it is working with multiple languages.

https://{Sitecore}/sitecore/api/layout/render/jss/?item={ItemID}&sc_apikey={apiKey}&sc_lang={langcode}

But from front when we try to call, it is working only for EN, not working for other languages. Gives 404 when I try to access for different language. I guess we are missing something from front end. Please let me know if we are missing something.

We are using Sitecore 10.2 as headless (JSS) and nextjs for the front end.

When we try to call JSS API it is working with multiple languages.

https://{Sitecore}/sitecore/api/layout/render/jss/?item={ItemID}&sc_apikey={apiKey}&sc_lang={langcode}

But from the front when we try to call, it is working only for EN, not working for other languages. Gives 404 when I try to access for a different language. I guess we are missing something from the front end. Please let me know if we are missing something.

Source Link

Multi Language not working in Sitecore headless

We are using Sitecore 10.2 as headless (JSS) and nextjs for frontend.

When we try to call JSS API it is working with multiple languages.

https://{Sitecore}/sitecore/api/layout/render/jss/?item={ItemID}&sc_apikey={apiKey}&sc_lang={langcode}

But from front when we try to call, it is working only for EN, not working for other languages. Gives 404 when I try to access for different language. I guess we are missing something from front end. Please let me know if we are missing something.