Updated: 19 Jan 2018
- Submitting Issues
- How to contribute. Importing and assembling
- Working with translations
- Translations Contributors
- Let's keep everything clean and tidy here :)
- Make sure that similar Issues are not exist. Reopen an Issue if exists but closed.
- If things you want to submit are related to each other, submit them in one Issue.
- None of the forked Repositories' Issues will be accepted!
- Forks are developed separately from the origin Repository.
- Make sure you are running latest version (to check it out withing the FastHub head to About and tap on the section with application's version).
- Make sure the included template is filled in (submitting an Issue within FastHub will do it automatically).
If you have any questions, feel free to join our public Slack channel.
- Please update
debug_gradle.properties
file if you want to use your own keys:github_client_id=
-- your GitHub clientId;github_secret=
-- your GitHub secret;redirect_url=
-- the url defined inAndroidManifest
underLoginView
.
- Make sure you are running Android Studio 3.0 C4 or above;
- Import Android Studio Settings (to follow project's code style) from this file;
- Install Lombok Plugin from Android Studio Plugins and enable Annotations Processors in Android Studio Preferences.
- Fork the Repository.
- Clone it to your workstation.
- Open the project in Android Studio.
- Compile the project for the first time. Then you can start coding.
Please use meaningful commit messages.
- Create a new Branch with the changes you made.
- Submit your Pull Request with an explanation of what have you done and why.
I really appreciate your efforts on contributing to this project.
- Firstly, you have to fork the repository by clicking the Fork button.
- Clone your own forked repository to your workstation.
- Create and switch Branch by typing
git checkout -b <new branch>
where<new branch>
is the name of the Branch you want to work with. We recommend you to name it into the language you want to translate in. - Create a new directory named like
values-<language code>
, where<language code>
is a 2 letter ISO code of the language. For examplevalues-es
for Spanish,values-fr
for French. - Copy
values/strings.xml
into the directory you have created (values-??
). - Open
values-??/strings.xml
in your editor of choice. - Translate and keep in mind these important things.
-
Obey the XML format. So,
<string name="do-not-change">ONLY TRANSLATE HERE</string>
. -
Don't translate lines which contain
translatable="false"
. -
Don't translate Git and GitHub terms, such as Pull Request, Push, Commit, Branch, etc.
-
There are some escape sequences used in translations (e.g.
\n
as a line feed (new line),\t
as a tabulator. Don't delete them! For the full list you can see this Wiki article. -
There are some characters which must be escaped in translations.
"
"
'
'
&
&
>
>
<
<
-
Don't add extra spaces or periods. Don't delete existent ones.
-
- Once you finished translating, add new files to the Git index using
git add values-??/strings.xml
command and commit the changes usinggit commit -m '<commit message>'
, where<commit message>
is a short description of changes you made. - Push your local changes into your forked repository by typing
git push origin <new branch>
. - Finally, create a Pull Request from your Branch to our main Branch development.
- See README.md