Skip to content
View champo-ai's full-sized avatar
Block or Report

Block or report champo-ai

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
champo-ai/README.md

ChampoAI

Seamlessly Translate and Maintain your Apps with ChampoAI

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.

Popular repositories

  1. champo-ai champo-ai Public

    Seamlessly Translate and Maintain your Apps !

    JavaScript