For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /developers/blog/2020-04-10-translation-handling.md.

Translations 2.0

我们已经将 Home Assistant Core 仓库中的翻译脚本迁移到单个命名空间下。现在都可以通过 python3 -m script.translations 调用。

旧命令新命令
script/translations_developpython3 -m script.translations develop
script/translations_uploadpython3 -m script.translations upload
script/translations_downloadpython3 -m script.translations download
script/translations_cleanpython3 -m script.translations clean

这将帮助我们为 Translations 2.0 effort 做准备,它将清理 translations 并使其更好地扩展。