shaman-i18n

1.0.0 • Public • Published

Please create "repo" folder to work with git.

to validate all CSV run:
npm run validate

to build json for all CSV files run:
npm run build

to export json to perositiries run:
npm run export development

to remove from dictionary not used lemma keys

npm run parseLemmaKeys {repoNaem}

Workflow

Request approve to make changes in slack/i18n

1. Updating csv files

Workflow of synchronization translation our /csv/*.csv with https://docs.google.com/spreadsheets/d/1mBDhhphEE4bEHSrS399c4OLIaFSpZdYAR_rI_-d4U54/edit#gid=1473367957

  • Make export sheet from docs.google.com/spreadsheets to CSV:
    File-> download -> comma-separated values (.csv, current sheet)
    For example shaman-cms sheet
  • Replace related content of file (/csv/shaman-cms.csv) to exported one
  • Check is all changes correct before commit.
    (no-lost-one, plural rules inside curly brackets {} in english - "plural", "zero", "one", "two", "few", "many", "other" )
  • Commit and merge PR. Wait while build is completed.
  • 2. Updating spreadsheets

  • Check mergeDown build and fix it if needs
  • switch to developer branch and update it
  • Open sheet in https://docs.google.com/spreadsheets/d/1mBDhhphEE4bEHSrS399c4OLIaFSpZdYAR_rI_-d4U54/edit#gid=1473367957
  • File -> Import -> Upload -> upload csv (/csv/shaman-cms.csv) related to current sheet
  • Set Import Location -> Replace current sheet. Click "import data"

report about finishing to slack/i18n

Readme

Keywords

none

Package Sidebar

Install

npm i shaman-i18n

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.02 MB

Total Files

40

Last publish

Collaborators

  • dev.weblab-technology