strings file generation / translation tool for iOS
Project description
_______ _____ _ _
|__ __| / ____| | (_)
| |_ _| (___ | |_ _ __ _ _ __ __ _ ___
| | | | |\___ \| __| '__| | '_ \ / _` / __|
| | |_| |____) | |_| | | | | | | (_| \__ \
|_|\__, |_____/ \__|_| |_|_| |_|\__, |___/
__/ | __/ |
|___/ |___/
strings file generation / translation tool for iOS
Installation
$ sudo pip install tystrings
Usage
$ tystrings -h
usage: tystrings [-h] [--version] {generate,translate} ...
_______ _____ _ _
|__ __| / ____| | (_)
| |_ _| (___ | |_ _ __ _ _ __ __ _ ___
| | | | |\___ \| __| '__| | '_ \ / _` / __|
| | |_| |____) | |_| | | | | | | (_| \__ \
|_|\__, |_____/ \__|_| |_|_| |_|\__, |___/
__/ | __/ |
|___/ |___/
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
subcommands:
{generate,translate}
generate generate `.strings` file from source code files.
translate using Baidu Translate Service to translate `.strings` file.
To run tystrings over all .m files in your project, you can invoke it, for example, like this:
tystrings generate $(find . -name \*.m) -o en.lproj zh.lprog -v
translate .strings file to another language:
tystrings translate en.lproj/Localizable.strings zh-Hans.lproj/Localizable.strings --src-lang en --dst-lang zh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tystrings-1.0.1.tar.gz
(9.3 kB
view hashes)
Built Distribution
tystrings-1.0.1-py2-none-any.whl
(10.4 kB
view hashes)
Close
Hashes for tystrings-1.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a324a60028c4ed88cab0fdd13b38ebb24c40a17f92a817e1c75805cb8a76c2 |
|
MD5 | a3f9831f308651ad56fe8170702cc8d7 |
|
BLAKE2b-256 | 36b485906203f973f997eda9afbd67430920f1a3fe45f7453fe8c807d0697c66 |