1.4.1 • Published 1 year ago

champo-ai v1.4.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Get started

  • Install package
npm i champo-ai
# or
yarn add champo-ai
  • Create a champo.config.json at root of your project
{
  "translationFolder": "./translations",
  // OR
  "sourceFile": "./translations/fr-FR.json",
  
  "sourceLang": "fr-FR",
  "outputLang": ["en-US", "es-ES", "it-IT"],
  
  // optionnal
  "excludedFiles": ["file_excluded.ts"],
  "includedFiles": ["file_to_translate.json"],
  "aiGeneratedPrefix": "ai-generated_"
}
  • Export your api key
export CHAMPO_API_KEY=your_api_key # replace with yours
  • Run translation script
npx champo translate

It will translate all files in ./{translationFolder}/{sourceLang} in desired languages automatically.

1.4.1

1 year ago

1.4.0

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago