1.0.3 • Published 10 months ago

i18n-instant v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

i18n-instant

instant translation to your website

feature

x extract by function,default functions: t() and $t() extract by framework/package name nested json extraction wizard command

todo

  • use objects as arguments
  • refactor to classes and interfaces
  • use inquirer.js for a wizard mode

deepl

  • 50 text line per request
  • 500,000 char per month in the free tier
  • €20.00 per 1,000,000 characters
  • €0.000020 per character
  • first 1000 users get 50000 free chars

compatators

  • simpleLocalize
  • lokalise
  • phrase

stuff

  • manipulation of translation keys must be with maps only
  • a request is a single proccess of the program
  • commands:

    • extract make or update translation file uses: extractors && ?readers => writers args: path functions options: languages output directory recursive mirror (identity aka key is value) override (override existing keys values) sync / override sync -delete-diff

    • translate translate a json file uses: readers => translators => writers args: path

      options: src Lang output directory override

    • extract-translate extract and translate uses: (combanition) args:(combanation) path functions options: (combanations) languages output directory recursive mirror (identity aka key is value) override (override existing keys values) src Lang

  • actions:

    • extractors
    • readers
    • writers
    • translators
    • helpers
1.0.3

10 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago