1.4.9 • Published 6 months ago

@zeesoft/zlitt-sync v1.4.9

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
6 months ago

zlitt-sync tool usage guide

  1. Development usage
  • yarn install
  • yarn sync
  • after making any changes make sure to run build and obtain tarball yarn build yarn pack
  • for publishing yarn | npm login to the npm yarn publish --access public

  1. .zsyncrc configuration file (json structure)
  • add .zsyncrcfile to your project directory and add the following configurations
  • productInfo obtain from zLiTT of your product name and description
  • setupInfo obtain from zLiTT for setup setps with details
  • accessToken obtain from zLiTT
  • env should be one of prod, dev, local where accessToken is obtained
  • locales array of locales for which translations to be managed by zlitt-sync
  • inputFiles array of source resource file paths glob pattern is also supported
  • customExportName use custom file names for localization resource files as configured in zLiTT
  • untranslatedThreshold auto create a localization during sync process if untranslated words count is greater than threshold
  • machineT9n machine translation will translate source string in target language on initial process itself to avoid showing English string to customer

  1. Library usage
  • install zlitt-sync as your project dev dependency
  • npm i -g zlitt-sync or <tarball.tgz> get the tarball link from zeesoft
  • zlitt-sync module exposes sync api for programmatical usage
  1. CLI usage
  • install as global package
  • npm i -g zlitt-sync or <tarball.tgz> get the tarball link from zeesoft
  • zlitt-sync --sync to pull latest translations from zLiTT and create a Translation project if untranslated count threshold is reached
  • --debug and --log-file options can be supplied to get more verbose information

TODO

  • add support for custom export file name mapping in zLiTT
1.4.9

6 months ago

1.4.8

8 months ago

1.4.6

8 months ago

1.4.5

8 months ago

1.4.7

8 months ago

1.4.4

10 months ago

1.4.3

10 months ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.9

2 years ago

1.3.8

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.9

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago