I have been following the following guide to build a multi-language website:
Currently, it does this:
/about - display the English about page
/es/about - display the Spanish translation of the English about page
However, I would like to be able to do the following:
/about - display the English about page
/es/acerca - display the Spanish translation of the English about page
I have added the Translated Slug app and change the Spanish slug to “acerca”
Is there anything I need to add to the Next JS code in order for the Spanish slug to show up?
you can use the full_slug of the translated page and also get the translated name of a story from the translated_slugs array when requesting a translated story: