Open MadsMadsDk opened 7 years ago
Just looking through package.json. The package apparently depends on prismic 1.4.0, but the current version is 3.6.1. That could be the explanation.
Hey thanks. I haven't been using this on a project lately so unfortunately my time on this has been minimal. If you get it working on your fork feel free to submit a PR to bring it back here. Thanks @MadsMadsDk !
I've just tried upgrading to the latest prismic.io version, and it seems to still be working, and I'm even getting the new properties on content pulled from prismic. I'll do some further testing, and submit a PR if it proves succesful. Thanks for a quick response!
That would be awesome, thanks @MadsMadsDk
I have update prismic to the newest version and it works, not sure just how to query for non-default language from .md file. :)
Hello,
Prismic.io now supports multiple language version of content types. This is really nice, as opposed to using tags for i18n purposes.
Using the prismic.io API browser, I can now retrieve content with a new
alternate_languages
property. It returns an array that looks like this:I would like to be able to retrieve this array, loop over each language, and retrieve the document for each language version, so I can generate multiple language versions of a page.
Any suggestions as to how to do this? I've tried forking this repository and messing around with it locally, but I can't seem to locate the alternate_languages array on any results I get from Prismic.