0.0.16 • Published 5 months ago

babli v0.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Babli CLI

Use Babli.ai from your commandline. Sync your project with Babli.

Use

When you have new keys to translate. Add them to one of your translation files. And then

  • run babli login if you haven't already
  • babli push - push new keys/translations to Babli.ai
  • translate them on babli.ai
  • babli pull - pull the new translations to your project

Install

npm install -g babli

Use in CI

  • set BABLI_API_KEY env variable (find it in your project settings)
  • run babli pull to pull translations from babli.ai

Automatic Setup (coming soon)

create new Babli.ai project and connect it to your local project

babli create-project

Manual Setup

  1. Create a babli.json or babli.yaml file in the root of your project
  2. Create an empty project in babli.ai and get your projectId
  3. Add your projectId and pattern to find your translation files
    {
    "projectId": "<your projectId>",
    "translationFiles": [{ "pattern": "src/translations/{{lang}}.json" }]
    }
  4. Then you can push your keys from your project babli push
0.0.15

5 months ago

0.0.16

5 months ago

0.0.14

6 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.10

10 months ago

0.0.11

10 months ago

0.0.9

10 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago