From 856b82e0d19dfc48df21d65faaf0af145cbc05b5 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 10 Apr 2020 14:21:36 -0700 Subject: [PATCH] Add blog post about changing translations command line --- blog/2020-04-10-translation-handling.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 blog/2020-04-10-translation-handling.md diff --git a/blog/2020-04-10-translation-handling.md b/blog/2020-04-10-translation-handling.md new file mode 100644 index 00000000..7137aecc --- /dev/null +++ b/blog/2020-04-10-translation-handling.md @@ -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.