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!

Localizable.strings parser for Apple-specific localization files

Project Description

python-localizable
==================

Localizable.strings parser for Python

# Usage

Install using pip.

$ pip install localizable

You can either parse a full string directly or pass a file path:

import localizable

strings = localizable.parse_strings(filename='Localizable.strings')
strings = localizable.parse_strings(content="content of .strings file") # this works too

The output format is an array of dictionaries, in order, with the following key/value pairs:

/* Comment */
"Key" = "Value";

* `key`: "Key"
* `value`: "Value"
* `comment`: "Comment"

# License

GPLv2. Adapted from Transifex.

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
localizable-0.1.2.tar.gz
(9.0 kB) Copy SHA256 Hash SHA256
Source None Oct 23, 2013

Supported By

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 Google Google Cloud Servers DreamHost DreamHost Log Hosting