Skip to main content
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 files for localizable 0.1.2

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

Source distribution (sdist)

Source distribution for localizable 0.1.2
File Size Uploaded
localizable-0.1.2.tar.gz 9.0 kB Details

Release files / localizable-0.1.2.tar.gz

Download URL localizable-0.1.2.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
18b4444ff4c4c1bb6a64a9145ff36ab6bad78c26f6a64abd6be8efef1978a801
BLAKE2b-256 checksum
How to use checksums
d83d9ec328461f97cb7fbd41b09160190914dd0d7c3bb9195beadb6518997a8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.1.3

1 release file

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1

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