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 init
if you haven’t already - Install Rosey with
npm install rosey
- Rename your
_locales
directory torosey/locales
and convert each file to JSON. - Add a
rosey.yml
file with some basic configuration:
rosey.yml
copied
- At this point, you can already start testing locally. Run
npx rosey build --serve
and see your translated site running on a local server.