How to use Translated Slug

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?

Hello @yangRes,

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:


Here is the request of the story from above.
https://api.storyblok.com/v2/cdn/stories/home?version=draft&token=qCQUIAXTf9o1IxRy6RQ67gtt&cv=1644945981&resolve_relations=page.optionfield&language=de

In case that you need further help with this feel free to get in touch with our developer community on Discord:Storyblok

Best regards
Hannes