Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language "packs" for OwnTracks (iOS, Android) #8

Open
jpmens opened this issue Mar 1, 2016 · 5 comments
Open

Language "packs" for OwnTracks (iOS, Android) #8

jpmens opened this issue Mar 1, 2016 · 5 comments

Comments

@jpmens
Copy link
Member

jpmens commented Mar 1, 2016

A suggestion was raised on IRC regarding language translations ("packs") for OwnTracks. If this is possible, we might consider accepting patches with which to do that. Note: I am not suggesting we do this: it should be contributed.

@ckrey
Copy link
Member

ckrey commented Mar 5, 2016

For iOS, the translation process works as follows:

All localizable strings are split from the code and the UI into .strings files with entries which look like:

en.lproj/Localizable.strings

/* The app name */
"OwnTracks" = "OwnTracks";
...

If you want to contribute a language pack, please create a new folder xx.lproj (where xx is a ISO 639-1 country code https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).

Currently there are two files Localizable.stringsand Storyboard.strings. Copy the files from en.lprojinto your new folder and do the translations. Please leave the comment and the key unchanged like in

de.lproj/Localizable.strings

/* The app name */
"OwnTracks" = "MeineSpuren";
...

We know English words can be quite short and other languages may require more space on the UI. Try to be short and precise. We will include you in the beta testing program to check how your translations look like on the device.

@jpmens
Copy link
Member Author

jpmens commented Mar 5, 2016

Contributions which attemp to change the app name as in the above example WILL NOT BE ACCEPTED! :-D

@ckrey
Copy link
Member

ckrey commented Mar 5, 2016

ohne titel

@jpmens
Copy link
Member Author

jpmens commented Mar 5, 2016

Shouldn't that be Veröffentlichung in Warteschlange eingefügt? (Sorry, I couldn't resist. 😆
Looks good!

@ckrey
Copy link
Member

ckrey commented Mar 5, 2016

bildschirmfoto 2016-03-05 um 12 36 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants