By default, to get a specific language content, we need to pass the query params
for sc_lang
as es-MX
, fr-FR
..ETC (sc_lang="es-MX"
) in the JSS layout API to get the specific lang contents.
Is there any way to ignore the region and only send the language like sc_lang="es"
https://scdev9.3cm.dev.local/sitecore/api/layout/render/jss?item={8AFD4EBE-1072-4E86-8C33-7F7C8780C36A}&**sc_lang=es**&sc_apikey={03FCC368-DDA2-4B5F-95AB-5DCF35245E16}