Migrate an exported Space from one locale to another.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
index.js
locales.json
package-lock.json
package.json
readme.md

readme.md

Contentful-locale

Migrate an exported Space from one locale to another.

npm install -g @hoverbaum/contentful-locale

contentful-locale exportedSpace.json target-locale -s output.json

After running your exported Space through this script you will be able to import it into Contentful without trouble.

Contributing locales

Originally this tool only supports the locales it's creators needed. You are super welcome to add a locale 👍

To do so please export a space with your desired locale using contentful-export and open a pull request adding the locale from it to the locale.json file in this repo.