Translations are hosted by Transifex
- Open
strings.json
in your favorite editor. - Add a new dictionary to the array with the following format:
- Name of String in all caps with underscores (this will be the name used in XCode).
- Add the string with the key
string
. - Add a comment that describes how the string is used with the key
comment
- Run
StringsConverter.py
(requires Python 2.7+)
$ python3 ./OTRAssets/Strings/StringsConverter.py
- Make sure to build project in Xcode. This creates or updates the
localizable.strings
fromstrings.json
that will be uploaded. $ tx push -s
$ tx pull -a
StringsUnused.py requires Python 3.6 or higher.
$ python3 ./OTRAssets/Strings/StringsUnused.py ./ChatSecure/Classes/ ./ChatSecureCore/ ./OTRAssets/