Linux command
weblate 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List projects (using wlc client)
wlc list-projects
List components
wlc list-components [project/component]
Download translations
wlc download [project/component/language]
Upload translation file
wlc upload [project/component/language] [file.po]
Lock component for editing
wlc lock [project/component]
Push changes to repository
wlc push [project/component]
Show component stats
wlc stats [project/component]
说明
wlc (Weblate Client) manages Weblate translation servers remotely via the REST API. It enables automation of translation workflows, continuous localization, and integration with build systems. The client handles common tasks: downloading/uploading translations, triggering repository syncs, locking during releases, and querying statistics. Configuration in ~/.config/weblate stores server URLs and API keys. Server-side management uses Django's manage.py or the weblate script for database operations, import/export, and administration tasks.
参数
- --url _url_
- Weblate server URL.
- --key _key_
- API key for authentication.
- --format _fmt_
- Output format (text, csv, json, html).
- -o _file_
- Output to file.
FAQ
What is the weblate command used for?
wlc (Weblate Client) manages Weblate translation servers remotely via the REST API. It enables automation of translation workflows, continuous localization, and integration with build systems. The client handles common tasks: downloading/uploading translations, triggering repository syncs, locking during releases, and querying statistics. Configuration in ~/.config/weblate stores server URLs and API keys. Server-side management uses Django's manage.py or the weblate script for database operations, import/export, and administration tasks.
How do I run a basic weblate example?
Run `wlc list-projects` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --url _url_ do in weblate?
Weblate server URL.