Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

strings file tool for iOS / macOS developers

Project Description
 _______     _____ _        _
|__   __|   / ____| |      (_)
   | |_   _| (___ | |_ _ __ _ _ __   __ _ ___
   | | | | |\___ \| __| '__| | '_ \ / _` / __|
   | | |_| |____) | |_| |  | | | | | (_| \__ \
   |_|\__, |_____/ \__|_|  |_|_| |_|\__, |___/
       __/ |                         __/ |
      |___/                         |___/

strings file tool for iOS / macOS developers

Installation

$ sudo pip install tystrings

Usage

$ tystrings -h
  usage: tystrings [-h] [--version] {generate,translate,lint,diff} ...

   _______     _____ _        _
  |__   __|   / ____| |      (_)
    | |_   _| (___ | |_ _ __ _ _ __   __ _ ___
    | | | | |\___ \| __| '__| | '_ \ / _` / __|
    | | |_| |____) | |_| |  | | | | | (_| \__ \
    |_|\__, |_____/ \__|_|  |_|_| |_|\__, |___/
        __/ |                         __/ |
       |___/                         |___/


  optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit

  subcommands:
  {generate,translate,lint,diff}
    generate            generate `.strings` file from source code files.
    translate           using Baidu Translate Service to translate `.strings`
                        file.
    lint                Validates a `.strings` file.
    diff                Compare `.strings` files line by line.

To run tystrings generate over all .m files in your project, you can invoke it, for example, like this:

$ tystrings generate $(find . -name \*.m) -o en.lproj zh-Hans.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

validates .strings file:

$ tystrings lint en.lproj/Localizable.strings

compare two .strings files:

$ tystrings diff Localizable1.strings Localizable2.strings
Release History

Release History

This version
History Node

1.2.0

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
tystrings-1.2.0-py2-none-any.whl (12.3 kB) Copy SHA256 Checksum SHA256 py2 Wheel Jun 26, 2017
tystrings-1.2.0.tar.gz (11.4 kB) Copy SHA256 Checksum SHA256 Source Jun 26, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting