You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/developers/frontend_translation.markdown
+21-14Lines changed: 21 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
layout: page
3
-
title: "Translate Home Assistant frontend"
3
+
title: "Frontend Translation"
4
4
description: "How to translate the frontend for Home Assistant."
5
5
date: 2017-10-27 13:00
6
6
sidebar: true
@@ -10,25 +10,32 @@ footer: true
10
10
ha_release: 0.57
11
11
---
12
12
13
-
The translation of the Home Assistant frontend is still a work in progress. More phrases will be available soon.
13
+
## {% linkable_title How to start %}
14
+
[Join the translation team](https://lokalise.co/signup/3420425759f6d6d241f598.13594006/all/) and choose your language. Even if your language is completely translated, extra proofreading is a big help! Please feel free to review the existing translations, and vote for alternatives that might be more appropriate.
14
15
15
-
#### {% linkable_title How to start %}
16
-
[Join the translation team](https://lokalise.co/signup/3420425759f6d6d241f598.13594006/all/) and choose your language. If your language is not listed you can request it at [GitHub](https://github.com/home-assistant/home-assistant-polymer/issues/new). Please provide both the English name and the native name for your language. Example: German / Deutsch.
17
-
Note: Languages that differ from the language of the country of origin need a translation for the latter first. Example: `French as used in Canada` requires a generic `French` translation.
18
-
19
-
Even if your language is completely translated, extra proofreading is a big help! Please feel free to review the existing translations, and vote for alternatives that might be more appropriate.
16
+
First time users may find it helpful to switch between multilanguage and single language view using the <imgsrc='/images/frontend/lokalise-multilanguage-view-button.png'alt="Multilanguage view"style="width: 17px; border: none;"/> button. For more information about the translation workflow, please see the [Lokalise translation workflow documents](https://docs.lokalise.co/category/iOzEuQPS53-for-team-leads-and-translators).
20
17
21
-
For more information about the translation workflow, please see the [Lokalise translation workflow documents](https://docs.lokalise.co/category/iOzEuQPS53-for-team-leads-and-translators).
18
+
<pclass='note'>
19
+
The translation of the Home Assistant frontend is still a work in progress. More phrases will be available for translation soon.
20
+
</p>
22
21
23
-
####{% linkable_title Rules %}
22
+
## {% linkable_title Rules %}
24
23
1. Only native speakers should submit translations.
25
-
2. English is reference language.
26
-
3. Stick to [Material Desing guidelines](https://material.io/guidelines/style/writing.html).
27
-
4. Don't translate or change proper nouns like `Home Assistant`, `Hass.io` or `Hue`.
24
+
2. Stick to [Material Desing guidelines](https://material.io/guidelines/style/writing.html).
25
+
3. Don't translate or change proper nouns like `Home Assistant`, `Hass.io` or `Hue`.
28
26
29
-
Tip: Use `Multilanguage view` (eye-symbol) and hide those languages you don't need.
27
+
## {% linkable_title Adding a new language %}
28
+
If your language is not listed you can request it at [GitHub](https://github.com/home-assistant/home-assistant-polymer/issues/new). Please provide both the English name and the native name for your language. For example:
29
+
```
30
+
English Name: German
31
+
Native Name: Deutsch
32
+
```
33
+
34
+
<pclass='note'>
35
+
Note: Languages that differ from the language of the country of origin need a translation for the latter first. Example: `French as used in Canada` requires a generic `French` translation.
36
+
</p>
30
37
31
-
####{% linkable_title For maintainers %}
38
+
### {% linkable_title Maintainer steps to add a new language %}
32
39
1. Language tags have to follow [BCP 47](https://tools.ietf.org/html/bcp47). A list of most language tags can be found here: [IANA sutbtag registry](http://www.iana.org/assignments/language-subtag-registry/language-subtag-registry). Examples: `fr`, `fr-CA`, `zh-Hans`. Only include the country code if country specific overrides are being included, and the base language is already translated.
33
40
2. Add the language tag and native name in `src/translations/translationMetadata.json`. Examples: "Français", "Français (CA)"
0 commit comments