Add blog post about changing translations command line

This commit is contained in:
Paulus Schoutsen 2020-04-10 14:21:36 -07:00
parent 8052e267e0
commit 856b82e0d1

View File

@ -0,0 +1,18 @@
---
author: Paulus Schoutsen
authorURL: https://twitter.com/balloob
authorImageURL: /img/profile/paulus.jpg
authorTwitter: balloob
title: Translations 2.0
---
We've migrated our translation scripts in the Home Assisstant Core repository under a single namespace. It can now all be invoked using `python3 -m script.translations`.
| Old command | New command |
| ------------------------------ | ----------------------------------------- |
| `script/translations_develop` | `python3 -m script.translations develop` |
| `script/translations_upload` | `python3 -m script.translations upload` |
| `script/translations_download` | `python3 -m script.translations download` |
| `script/translations_clean` | `python3 -m script.translations clean` |
This will help us prepare for our [Translations 2.0 effort](https://github.com/home-assistant/architecture/blob/master/adr/0009-translations-2.0.md) that will clean up translations and make it scale better.