This is a prototype tool for editing YAML i18n strings.
You have 2 files. The reference file is the version of the file you want to be translated and the target file is the translation you want to produce. You load both of these files into the tool and it generates an interface for you to do the translation.
Press save at any time to download a modified version of the target file with any changes made to it. Send that file back to whoever asked you to translate it.
Current translations and changes are stored in localStorage
so it will persist between reloads.
I made this repo to play around with alpine.js, css variables and vite.
Check out the repo and npm install
to get the latest dependencies.
Run npm run prepare
to setup the husky integration.
# Run the development server with hot-reloading
npm run dev
# Run the build
npm run build
Code is automatically formatted using prettier,
this runs automatically when comitting code.
Commit's will fail if invalid code is staged.
You can manually format code with npm run format
if you want.
Commit messages must follow Conventional Commits, this is linted using husky.
Releases are generated with standard-version. This decides the next version and generates the CHANGELOG.md based on commit messages.
npm run release