ngx-translate-helpercli

0.0.14 • Public • Published

ngx-translate-helpercli

Command line Helper for creating multi-cultural site using Angular NGX-Translate

Installing w .bashrc Alias

curl -s 'https://raw.githubusercontent.com/GuillaumeIsabelle/ngx-translate-helpercli/master/install-bashrc.sh' | bash 
#result alias: newstring 
#result alias: ngxtr 

Install Dev

npm i ngx-translate-helpercli --save-dev
yarn add ngx-translate-helpercli --dev

Usage:

./node_modules/.bin/ngxtr newstring "Hello everyone, welcome to this Angular application showing up translating mastery."    "HOME.GREETING"
 
./node_modules/.bin/ngxtr newstring "Hello world of software developper."    "HOME.TST" 
 
# or using bashrc ALias 
newstring "Hello world of software developper."    "HOME.TST" 
newstring "Hello everyone, welcome to this Angular application showing up translating mastery."    "HOME.GREETING"

Expected result:

 {
  "HOME": {
   
    "TST": "Bonjour tout le monde du développeur de logiciels.",
    "GREETING": "Bonjour à tous, bienvenue dans cette application angulaire présentant la maîtrise de la traduction."
  },

Readme

Keywords

Package Sidebar

Install

npm i ngx-translate-helpercli

Weekly Downloads

0

Version

0.0.14

License

ISC

Unpacked Size

16.9 kB

Total Files

14

Last publish

Collaborators

  • jgi