testing mode
Package for working with microsoft azure API and loclaise
Locolaise - Translation Management for Developers
Microsoft translator - Translation API
yarn add savloco
or
npm install savloco
- Create configuration script
savloco.json
that tells what files to upload and how to process downloaded translations. - Run
yarn savloco
or
npm run savloco
{
"inputFile": "src/locals/input.json",
"localsDir": "src/locals"
}
inputFile : file in which default words with format of { key: word }, where key is used in application code and word is a meaning of it
outputDir : directory where JSON files located of format of [code language].json (en.json, he.json). In that files is or will be a list of translation like in inputFile file, but with translated word.
- Auto translation
- Upload dictionary
- Download dictionary