'.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.mkdir("folder",ru="ru translation",de="de translation")
'folder.localized'
>>> mac_localized.load("folder")
{'ru':'ru translation','de':'de translation'}
>>> mac_localized.update("folder",ru="new ru translation",de="new de translation")
>>> mac_localized.get("folder","ru")
'new ru translation'
>>> mac_localized.rm("folder",["ru"])
>>> mac_localized.rm("folder") # rm all localizations
Links
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for mac_localized-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 605b883024a6d3b8a85aa04f8d1a1566485c254f48d8b5e82b26544def9d3ab3 |
|
MD5 | 327193911922d510c8bc25f36f8eaed6 |
|
BLAKE2b-256 | 863aa0f35451ffa1b2913b7c3cba2fde630f8dd3f78e2f66f12b0f78f0901541 |