ngx-translate-helpercli

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

Usage no npm install needed!

<script type="module">
  import ngxTranslateHelpercli from 'https://cdn.skypack.dev/ngx-translate-helpercli';
</script>

README

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."
  },