If you’re starting from scratch, have a look at the Rosey documentation to get set up, then move on to the next step.
If your site is already setup for i18n on CloudCannon, migrating to Rosey is easy.
Migrating your site#
- Initialize NPM on your site with
npm initif you haven’t already
- Install Rosey with
npm install rosey
- Rename your
rosey/localesand convert each file to JSON.
- Add a
rosey.ymlfile with some basic configuration:
- At this point, you can already start testing locally. Run
npx rosey build --serveand see your translated site running on a local server.