Skip to content

MohammadMRD/nextcloud-translate-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nextcloud Translate CLI

Translate Nextcloud project in a single file.


Requirements

  • Nodejs
  • PHP
  • gettext

For more information click here.


Installation

$ npm i -g nextcloud-translate-cli

Usage

$ nct [options]

or

$ nc-translate [options]

Options

Options:
  -v, --version              Output the version number
  -i, --init                 Read all .pot files from project and save all strings in the translate.pot file
  -f, --fill-translate-file  Read all translated strings and fill the translate.pot file
  -t, --translate            Translate project with translate.pot file
  -l, --lang <lang>          Translation language (default: "fa")
  -h, --help                 Display help for command

License

MIT License

Releases

No releases published

Packages

No packages published