gatsby-plugin-i18n icon indicating copy to clipboard operation
gatsby-plugin-i18n copied to clipboard

Build specific language

Open alexantom opened this issue 5 years ago • 3 comments

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

alexantom avatar Jun 08 '20 07:06 alexantom

Hi @alexantom. I guess this is not possible at the moment. You'll need to implement a custom createPage logic, unfortunately.

hugomn avatar Jun 08 '20 08:06 hugomn

@hugomn i'm new to gatsby , do you have any documentation regarding the createPage logic?

alexantom avatar Jun 10 '20 15:06 alexantom

@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

gusbemacbe avatar Aug 10 '20 12:08 gusbemacbe