Skip to main content

'.localized' MacOS localized folder name

Project description

Install

$ [sudo] pip install mac-localized

How it works

Release Notes.localized/
    .localized/
        en.strings
        de.strings
        ja.strings

.strings:

"Release Notes" = "Localized name";

Examples

>>> import mac_localized
>>> mac_localized.update("folder",ru="ru translation",de="de translation")
>>> mac_localized.load("folder")
{'ru':'ru translation','de':'de translation'}

>>> mac_localized.get("folder","ru")
'ru translation'

>>> mac_localized.rm("folder",["ru"])
>>> mac_localized.rm("folder")  # rm all localizations

Links

Project details


Download files

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

Source Distribution

mac-localized-0.0.0.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

mac_localized-0.0.0-py2.py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page