Skip to content

Is there a way to get the current locale for the page you're editing in preview? #173

Answered by jmikrut
richardvanbergen asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @richardvanbergen — we can pass in the locale to that function for sure. Give us a bit today and we'll deploy a new version with locale added to the generatePreviewURL function.

Good call!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@richardvanbergen
Comment options

Answer selected by richardvanbergen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants