{"id":22636750,"url":"https://github.com/materik/cocoapod-locally","last_synced_at":"2026-04-13T13:32:43.012Z","repository":{"id":97580782,"uuid":"51921484","full_name":"materik/cocoapod-locally","owner":"materik","description":"Node package for going through your Xcode project, locating all localized strings","archived":false,"fork":false,"pushed_at":"2016-07-31T09:23:57.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T05:12:38.798Z","etag":null,"topics":["localization","npm","xcode"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/materik.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-17T12:37:22.000Z","updated_at":"2021-12-30T00:25:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c7a73d7-cdd7-420c-ab9c-e2069ba63c63","html_url":"https://github.com/materik/cocoapod-locally","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/materik/cocoapod-locally","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/materik%2Fcocoapod-locally","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/materik%2Fcocoapod-locally/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/materik%2Fcocoapod-locally/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/materik%2Fcocoapod-locally/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/materik","download_url":"https://codeload.github.com/materik/cocoapod-locally/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/materik%2Fcocoapod-locally/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31754965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["localization","npm","xcode"],"created_at":"2024-12-09T03:30:06.492Z","updated_at":"2026-04-13T13:32:42.943Z","avatar_url":"https://github.com/materik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](logo.png)\n\n[![](https://img.shields.io/badge/contact-@thematerik-blue.svg?style=flat-square)](http://twitter.com/thematerik)\n[![](https://img.shields.io/travis/materik/locally.svg?style=flat-square)](https://travis-ci.org/materik/locally)\n\nNode package for going through your Xcode project, locating all localized\nstrings and add them to your `Localizable.strings` files. Also sorts and groups\nthe strings if they are new, in used or unused.\n\n## Install\n\n```\nnpm install -g materik/locally\n```\n\n## Usage\n\n```\nlocally -i \u003cINPUT\u003e -o \u003cOUTPUT\u003e [-p \u003cPATTERN\u003e]\n\n    -i, --input \u003cINPUT\u003e\n            Filepath to the project where the recursive lookthrough\n            for localized strings should take place.\n              Supports multiple arguments.\n\n    -o, --output \u003cOUTPUT\u003e\n            Filepath to where the localized strings be saved, example:\n            'Resources/en.lproj/Localizable.strings'.\n              Supports multiple arguments.\n\n    -p, --pattern \u003cPATTERN\u003e\n            How should the localized file be found, by default: 'NSLocalizedString(@?(), .*)',\n            where '()' will be picked out as the string.\n              Supports multiple arguments.\n```\n\n### Example\n\n```\nlocally \\\n    -i MyProject \\\n    -o MyProject/en.lproj/Localizable.strings \\\n    -o MyProject/sv.lproj/Localizable.strings \\\n    -p \"@().localize\" \\\n    -p \"localize(@())\"\n```\n\n### Ignore\n\nYou can choose for Locally to ignore some strings in both your\n`Localizable.strings` file and in the project.\n\n* Add `// locally ignore: lint` on the end of each line in your project that you want to ignore\n* Add ignored strings under the section `/\\* Ignored strings \\*/` in your `Localizable.strings` file to have Locally skip them.\n\nSee `Demo` for an example of how to use it.\n\n## Demo\n\nOpen the `Demo.xcodeproj`. Look into the `Localizable.strings` files and see the\n`ViewController` class. Now, go to the root folder in the terminal and execute:\n`npm run demo`. See how the `Localizable.strings` files changes with the runs.\n\n## Test\n\nThere are multiple tests for the package. You can run them locally by executing:\n`npm test`.\n\n## Notes\n\n- Will attempt to make this into a Xcode plugin.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaterik%2Fcocoapod-locally","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaterik%2Fcocoapod-locally","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaterik%2Fcocoapod-locally/lists"}