Awesome
This is the example app used in this blog post.
synchronize with locize
Here, you basically keep the existing setup but are synchronizing the translation files with locize. This can be done on-demand or on the CI-Server or before deploying the app.
What to do to reach this step:
- in locize: signup at https://locize.com/register and login
- in locize: create a new project
- in locize: add "de" as additional language (this can also be done via API)
- install the locize-cli
use the locize-cli
Use the npm run syncLocales
script to synchronize your local repository with what is published on locize.
Alternatively, you can also use the npm run downloadLocales
script to always download the published locize translations to your local repository before bundling your app.
<p align="center"> <a href="https://www.gatsbyjs.com/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter"> <img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" /> </a> </p> <h1 align="center"> Gatsby minimal starter </h1>
๐ Quick start
-
Create a Gatsby site.
Use the Gatsby CLI to create a new site, specifying the minimal starter.
# create a new Gatsby site using the minimal starter npm init gatsby
-
Start developing.
Navigate into your new siteโs directory and start it up.
cd my-gatsby-site/ npm run develop
-
Open the code and start customizing!
Your site is now running at http://localhost:8000!
Edit
src/pages/index.js
to see your site update in real-time! -
Learn more
๐ Quick start (Gatsby Cloud)
Deploy this starter with one click on Gatsby Cloud:
<img src="https://www.gatsbyjs.com/deploynow.svg" alt="Deploy to Gatsby Cloud">