Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/iilab/PanicButton
Browse files Browse the repository at this point in the history
  • Loading branch information
jmatsushita committed Apr 20, 2015
2 parents cf579b4 + 1f79942 commit 511fb18
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/TRANSLATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Helping with the Panic Button translation

## Submit a translation

Unfortunately it is not as straightforward as we would like right now, but if you have resources or skills to help make the process better, [that would be a great contribution](#improve-how-translations-are-managed) to the project.

In the meantime you can contribute by:
- [forking](https://help.github.com/articles/fork-a-repo/) the project
- creating a ```res/value-XX``` directory (where XX is the 2 letter code for the language) with a translated string.xml file (the english version is [here](https://github.com/iilab/PanicButton/blob/master/res/values-en/strings.xml))
- creating ```help_XX.json``` and ```mobile_kh.json``` files in the [assets directory](https://github.com/iilab/PanicButton/tree/master/assets).
- adding code to load the ```mobile_XX.json``` file [after this block](https://github.com/iilab/PanicButton/blob/master/src/main/java/org/iilab/pb/HomeActivity.java#L234-L242) and ```help_XX.json``` after [this block](https://github.com/iilab/PanicButton/blob/master/src/main/java/org/iilab/pb/HomeActivity.java#L294-L302)
- [submitting a pull request](https://help.github.com/articles/using-pull-requests).

## Improve how translations are managed.

If you have software development skills then you can help us by streamlining how the translation process happens. One of the ideal outcomes would be to be able to manage translations via transifex. There were [some efforts towards this](https://github.com/iilab/PanicButton/issues/43). What complicates matters currently is that, as a product of our [previous API driven content loading approach](https://github.com/iilab/PanicButton/issues/40) there are other language files in the ```assets``` directory.

Let us know your ideas by submitting a github issue!

0 comments on commit 511fb18

Please sign in to comment.