{"id":20228062,"url":"https://github.com/andrewpetrochenkov/mac-localized.py","last_synced_at":"2026-05-27T23:32:27.797Z","repository":{"id":57439030,"uuid":"154995543","full_name":"andrewpetrochenkov/mac-localized.py","owner":"andrewpetrochenkov","description":":apple: :uk: :de: :es: :fr: :it: :ru: :jp: :cn: macOS '.localized' localized folder name","archived":false,"fork":false,"pushed_at":"2020-12-03T21:07:23.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-02T06:52:57.120Z","etag":null,"topics":["macos","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewpetrochenkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-27T18:18:25.000Z","updated_at":"2020-12-03T21:07:25.000Z","dependencies_parsed_at":"2022-09-18T09:03:33.494Z","dependency_job_id":null,"html_url":"https://github.com/andrewpetrochenkov/mac-localized.py","commit_stats":null,"previous_names":["andrewpetrochenkov/mac-localized.py","andrewp-as-is/mac-localized.py"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewpetrochenkov/mac-localized.py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Fmac-localized.py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Fmac-localized.py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Fmac-localized.py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Fmac-localized.py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewpetrochenkov","download_url":"https://codeload.github.com/andrewpetrochenkov/mac-localized.py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewpetrochenkov%2Fmac-localized.py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33588345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos","python"],"created_at":"2024-11-14T07:28:19.788Z","updated_at":"2026-05-27T23:32:27.783Z","avatar_url":"https://github.com/andrewpetrochenkov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nhttps://readme42.com\n--\u003e\n\n\n[![](https://img.shields.io/pypi/v/mac-localized.svg?maxAge=3600)](https://pypi.org/project/mac-localized/)\n[![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)\n[![](https://github.com/andrewp-as-is/mac-localized.py/workflows/tests42/badge.svg)](https://github.com/andrewp-as-is/mac-localized.py/actions)\n\n### Installation\n```bash\n$ [sudo] pip install mac-localized\n```\n\n#### How it works\n```\nRelease Notes.localized/\n    .localized/\n        en.strings\n        de.strings\n        ja.strings\n```\n\n`.strings`:\n```\n\"Release Notes\" = \"Localized name\";\n```\n\n#### Examples\n```python\n\u003e\u003e\u003e import mac_localized\n\u003e\u003e\u003e mac_localized.mkdir(\"folder\",ru=\"ru translation\",de=\"de translation\")\n'folder.localized'\n\n\u003e\u003e\u003e mac_localized.load(\"folder\")\n{'ru':'ru translation','de':'de translation'}\n\n\u003e\u003e\u003e mac_localized.update(\"folder\",ru=\"new ru translation\",de=\"new de translation\")\n\n\u003e\u003e\u003e mac_localized.get(\"folder\",\"ru\")\n'new ru translation'\n\n\u003e\u003e\u003e mac_localized.rm(\"folder\",[\"ru\"])\n\u003e\u003e\u003e mac_localized.rm(\"folder\")  # rm all localizations\n```\n\n#### Links\n+ [Localizing the Name of a Directory](https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemAdvancedPT/LocalizingtheNameofaDirectory/LocalizingtheNameofaDirectory.html)\n+   [Display Names](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFileSystem/Articles/DisplayNames.html)\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://readme42.com/\"\u003ereadme42.com\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewpetrochenkov%2Fmac-localized.py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewpetrochenkov%2Fmac-localized.py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewpetrochenkov%2Fmac-localized.py/lists"}