generated from ludeeus/integration_blueprint
-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5508c42
commit 34cd84c
Showing
5 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: New Language | ||
description: Submit a request for a new language to be created in Crowdin for translation. | ||
title: "New Language" | ||
labels: ["new-language"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
To learn more about adding a new language see [here](https://andrew-codechimp.github.io/HA-Battery-Notes/translations) | ||
- type: input | ||
id: language | ||
attributes: | ||
label: Language | ||
description: The language you would like to submit translations for. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Translations | ||
|
||
You can help by adding missing translations when you are a native speaker. Or add a complete new language when there is no language file available. | ||
|
||
Battery Notes uses Crowdin to make contributing easy. | ||
|
||
## Changing or adding to existing language | ||
|
||
First register and join the translation project | ||
|
||
- If you don’t have a crowdin account yet, create one at https://crowdin.com | ||
- Go to the [Battery Notes Crowdin project page](https://crowdin.com/project/battery-notes) | ||
- Click Join. | ||
|
||
Next translate a string | ||
|
||
- Select the language you want to contribute to from the dashboard. | ||
- Click Translate All. | ||
- Find the string you want to edit, missing translation are marked red. | ||
- Fill in or modify the translation and click Save. | ||
- Repeat for other translations. | ||
|
||
!!! info | ||
|
||
Battery Notes will automatically pull in latest changes to translations every day and create a Pull Request. After that is reviewed by a maintainer it will be included in the next release of Battery Notes. | ||
|
||
## Adding a new language | ||
|
||
Create an [Issue](https://github.com/andrew-codechimp/HA-Battery-Notes/issues/new?template=new_language_request.yml&title=New+Language) requesting a new language. We will do the necessary work to add the new translation to the integration and Crowdin site, when it's ready for you to contribute we'll comment on the issue you raised. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters