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.