I'm trying to build custom field type / plugin in Storyblok according to their guide and need to get selected locale
or current slug
at least. I don't see such information in Vuejs instance of that plugin. Can anyone advise on it and provide some code how to do it?
Asked
Active
Viewed 66 times
1

azbarcea
- 3,323
- 1
- 20
- 25

Andrew Ignatiev
- 11
- 1
-
would https://stackoverflow.com/questions/673905/best-way-to-determine-users-locale-within-browser help? – azbarcea Sep 10 '19 at 02:04
1 Answers
0
This information can now be accessed by the new attribute this.storyItem

Alexander Feiglstorfer
- 311
- 3
- 5