0.0.1 • Published 7 years ago

translation-update-tool v0.0.1

Weekly downloads
2
License
ISC
Repository
-
Last release
7 years ago

Translation Update Tool

Early pre-alpha version.

Do not use.

Simple npm package providing tool to download newest version of translation from server. Package should be installed locally in your project. It is searching for package.json with correct configuration:

...
"tdtConfig": {
    "url": "http://localhost:5050/",
    "destinationDir": "./src/i18n",
    "forceOverride": true
}
...

Package provides tr-update command that is executed during npm install.

  • url url to server containing manifest.json and packed translations
  • destinationDir path to directory where translations should be installed
  • forceOverride allow to override files in destination directory

TODO

  • Refactor code
  • Add tests