You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi to all developers, my name is Walter and i am developing a Gatsby-starter with intl support: gatsby-starter-i18n-bulma It is based on Gatsby, bulma for the Css part and the super gatsby-plugin-i18n, and of course Netlify CMS.
Basically with my starter you can switch from an English page like:
/en/artworks/
to the corresponding, for example, in Italian
/it/opere/
for doing this i added a datalist of every page associated with a number id see this piece of code:
Every page needs to be saved with the extension of the language choosen, for example:
artworks.en.md and opere.it.md
Actually if i create a new post, the blog is saved without the .it. or .en. prefix
see this commit:
My question is : How i can add the .it. or .en. prefix before the .md extension?
Simple answer: i could add in the name of the title but i would to make automatic, you choose the language with the widget and automatically the language is added at the end of the file name.
Thank you for your attention and interest, any help and suggestion will be really appreciated.
Have you a nice day! 😄
The text was updated successfully, but these errors were encountered:
Hi to all developers, my name is Walter and i am developing a Gatsby-starter with intl support: gatsby-starter-i18n-bulma It is based on Gatsby, bulma for the Css part and the super gatsby-plugin-i18n, and of course Netlify CMS.
Basically with my starter you can switch from an English page like:
/en/artworks/
to the corresponding, for example, in Italian
/it/opere/
for doing this i added a datalist of every page associated with a number id see this piece of code:
Every page needs to be saved with the extension of the language choosen, for example:
artworks.en.md
andopere.it.md
Actually if i create a new post, the blog is saved without the .it. or .en. prefix
see this commit:
My question is : How i can add the
.it.
or.en.
prefix before the .md extension?Simple answer: i could add in the name of the title but i would to make automatic, you choose the language with the widget and automatically the language is added at the end of the file name.
Thank you for your attention and interest, any help and suggestion will be really appreciated.
Have you a nice day! 😄
The text was updated successfully, but these errors were encountered: