We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you use the Storyblok SDK to get a story, the translated_slugs property looks like this:
translated_slugs
[ { path: 'about', name: 'About', lang: 'en', published: true } ]
Oddly, when I use live preview, the payload provided by the query looks like this:
[{ id: 38948726, lang: 'en', slug: 'about', name: 'About', published: null }]
The path key seems to have been replaced by slug.
path
slug
NB: I think there's clearly a lack of documentation on Storyblok on how to get a localized url.
Both payloads should have the same keys
Translatable Slugs
The text was updated successfully, but these errors were encountered:
dipankarmaikap
No branches or pull requests
When you use the Storyblok SDK to get a story, the
translated_slugs
property looks like this:[ { path: 'about', name: 'About', lang: 'en', published: true } ]
Oddly, when I use live preview, the payload provided by the query looks like this:
[{ id: 38948726, lang: 'en', slug: 'about', name: 'About', published: null }]
The
path
key seems to have been replaced byslug
.NB: I think there's clearly a lack of documentation on Storyblok on how to get a localized url.
Expected behavior
Both payloads should have the same keys
Current behavior
The
path
key seems to have been replaced byslug
.How to reproduce the problem
Translatable Slugs
application.The text was updated successfully, but these errors were encountered: