Home

Awesome

Strongbox Babel

This is the repository for contributing to translation and localisation for Strongbox. Please read the CONTRIBUTIONS.md file before you contribute.

How to contribute for your Language

If you'd like to have Strongbox translated into your language and are willing to do so under the terms of the MIT licence then please follow the steps below:

  1. Get in touch (support@strongboxsafe.com).

  2. We will add you to the CrowdIn system and you can begin translating

  3. If you come across any issues, or problems with existing contributions, or if you can't find a particular string then just create and issue here in this repository and hopefully we can resolve things quickly and amicably.

  4. Once you've completed and all going well, your work will be waiting for a pull request and I should be able to take this work integrate it into the main app.

Hints, Tips & FAQ for Contributors

Determining Context

Sometimes you'll need to see the context where the strings are used, for better understanding the appropriate localisation. Unfortunately this is a little bit difficult but here is something you can try:

Caution

Some caution is required only in a couple of cases, these are related to programmatic or escape characters described below. We will run a couple of checks anyway before integration into Strongbox so just do your best.

Format Strings

These look something like below (they begin with a percentage sign) and are used in code to insert parameters into a string programmatically, e.g. "25 days remaining" might look like "%d days remaining" in the strings file.

%@
%d
%ld
%f
%s
%c

These need to stay in the same order also, you cannot change something like "%@ blah %d" to "%d blah %@" as that would cause a crash.

Quotes

Because strings are delimited by double quotes (i.e. ") any strings that include double quotes need to have that character specially escaped. This is done by using a backslash (i.e. \"). So for example the string:

Noam said "Colorless green ideas sleep furiously"

looks like the following when escaped properly:

"Noam said \"Colorless green ideas sleep furiously\""

This will be obvious enough in context.

Line Breaks

Line breaks are another area where you need to be careful. Line breaks are encoded as "\n", and often there can be multiple within a string, e.g.

"Hi,\nThis is a multiline string!\n\nThanks for your help!\n-Mark"

which will be rendered as:

Hi,
This is a multiline string!

Thanks for your help!
-Mark

Language Contributors - Acknowledgements

Below is a list of the contributors for various languages completed so far. A big thank you to all!

Don't see your language? Get in touch to help out. -Mark