gatsby-plugin-i18n
gatsby-plugin-i18n copied to clipboard
Build specific language
Due to dependency on different shopify stores , i would like to have different build for each language.
can i build one language at time , without generating other language folders?
what specific config should i be using
Hi @alexantom. I guess this is not possible at the moment. You'll need to implement a custom createPage logic, unfortunately.
@hugomn i'm new to gatsby , do you have any documentation regarding the createPage logic?
@alexantom
THis plugin is too limited. But you can try two articles that explain the use of createPage, interacting with this plugin.
- https://www.gatsbyjs.org/blog/2020-02-19-how-to-build-multilingual-sites-with-gatsby/
- https://kalinchernev.github.io/multilingual-gatsbyjs
- https://github.com/gatsbyjs/gatsby/tree/master/examples/using-i18n