hesham1221 / Translator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Json translator

translate any json file fields into what ever language you like (using iso code langs)

Usage

install dependency

npm install

test & Run the script

npm run translate
  • use the script file and the json folder to detect files and to translate it from a language
  • run the script using this command and a file would be generated to the same directory with '-{to_lang_is_code}.json' at the end of it

available langs

  • "ar"
  • "bn"
  • "ch"
  • "cy"
  • "da"
  • "de"
  • "el"
  • "en"
  • "es"
  • "fr"
  • "ga"
  • "gd"
  • "gv"
  • "hr"
  • "hu"
  • "it"
  • "ko"
  • "kw"
  • "ln"
  • "ms"
  • "nl"
  • "pt"
  • "sd"
  • "sr"
  • "ss"
  • "sv"
  • "sw"
  • "ta"
  • "tn"
  • "tr"
  • "ur"
  • "zh"

About


Languages

Language:TypeScript 100.0%