Skip to main content
 _______     _____ _        _
|__   __|   / ____| |      (_)
   | |_   _| (___ | |_ _ __ _ _ __   __ _ ___
   | | | | |\___ \| __| '__| | '_ \ / _` / __|
   | | |_| |____) | |_| |  | | | | | (_| \__ \
   |_|\__, |_____/ \__|_|  |_|_| |_|\__, |___/
       __/ |                         __/ |
      |___/                         |___/

strings file tool for iOS / macOS developers

Python Package Index Python Version Support Continuous Integration Coverage Testing Results MIT License Codebeat Badge

TyStrings Screenshot

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

Metadata

Release files for tystrings 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tystrings 1.2.3
File Size Uploaded
tystrings-1.2.3.tar.gz 671.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tystrings 1.2.3
File Interpreter ABI Platform
tystrings-1.2.3-py2-none-any.whl Python 2 none any Details

Total release size: 682.3 kB

Release files / tystrings-1.2.3.tar.gz

Download URL tystrings-1.2.3.tar.gz
Size 671.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7454b60085c37d8b10aae8e65cc86da1376bfcff8f2571f363bd0ece37524e59
BLAKE2b-256 checksum
How to use checksums
a95aa98483f339c21e5d938e68735e2c7c03b036aa6af4ecac9df3f9ff07db26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

Release files / tystrings-1.2.3-py2-none-any.whl

Download URL tystrings-1.2.3-py2-none-any.whl
Size 11.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
90985e902443d18a9fb61aef7e2922487f0d35e626160e4143cc06d49415f4ba
BLAKE2b-256 checksum
How to use checksums
b7a535f7c63ce549964276fe846716599cce98cfea7562f8c625c651e774b58e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page