Skip to content

why is it always splitting to 41 batches? #1

@xuchen

Description

@xuchen

Hi I'm using the macOS version of jta from brew install. I found the following logs confusing in my 20 language translation project:

the way i ran it was:

/opt/homebrew/bin/jta en.json --to zh-CN,ja,ko --incremental --terminology-dir ../../.jta --provider openai --yes

then I got logs like:

🚀 Translating to zh-CN...
📄 Loading source file...
✓ Source file loaded
Detected source language: en
🔍 Analyzing changes (incremental mode)...
New: 0 keys
Modified: 648 keys
Unchanged: 169 keys
📚 Loading terminology...
✓ Terminology loaded
📚 Loading terminology translation...
✓ Terminology translation loaded
🤖 Translating...
📦 Split into 41 batches (20 items/batch, concurrency: 3)

🚀 Translating to ko...
📄 Loading source file...
✓ Source file loaded
Detected source language: en
🔍 Analyzing changes (incremental mode)...
New: 0 keys
Modified: 587 keys
Unchanged: 230 keys
📚 Loading terminology...
✓ Terminology loaded
📚 Loading terminology translation...
✓ Terminology translation loaded
🤖 Translating...
📦 Split into 41 batches (20 items/batch, concurrency: 3)

🚀 Translating to ja...
📄 Loading source file...
✓ Source file loaded
Detected source language: en
🔍 Analyzing changes (incremental mode)...
New: 0 keys
Modified: 582 keys
Unchanged: 235 keys
📚 Loading terminology...
✓ Terminology loaded
📚 Loading terminology translation...
✓ Terminology translation loaded
🤖 Translating...
📦 Split into 41 batches (20 items/batch, concurrency: 3)

Any ideas that it's always splitting 41 batches regardless of the incremental change sizes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions