Bulk translation script usage.
This commit is contained in:
@@ -10,6 +10,12 @@ Examples:
|
|||||||
python scripts/translate_resources.py --dry-run
|
python scripts/translate_resources.py --dry-run
|
||||||
python scripts/translate_resources.py --apply --model gpt-5-nano
|
python scripts/translate_resources.py --apply --model gpt-5-nano
|
||||||
python scripts/translate_resources.py --apply --locales pl_PL de_DE --chunk-size 120
|
python scripts/translate_resources.py --apply --locales pl_PL de_DE --chunk-size 120
|
||||||
|
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
$env:OPENAI_API_KEY="{open ai key here}"
|
||||||
|
python .\scripts\translate_resources.py --dry-run
|
||||||
|
python .\scripts\translate_resources.py --apply --model gpt-5-nano --workers 4
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|||||||
Reference in New Issue
Block a user