{"id":24096429,"url":"https://github.com/t-osawa-009/localizedstringkeygen","last_synced_at":"2026-05-18T14:37:50.762Z","repository":{"id":82058050,"uuid":"271668523","full_name":"t-osawa-009/LocalizedStringKeyGen","owner":"t-osawa-009","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-16T15:55:31.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T09:30:04.654Z","etag":null,"topics":["generate","generator","ios","localization","localizedstringkey","strings","swift","swiftui"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/t-osawa-009.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2020-06-11T23:49:50.000Z","updated_at":"2023-03-24T06:23:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9fe36a2-c9fb-4d3b-8b1e-41f68ae2cf1b","html_url":"https://github.com/t-osawa-009/LocalizedStringKeyGen","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/t-osawa-009/LocalizedStringKeyGen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FLocalizedStringKeyGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FLocalizedStringKeyGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FLocalizedStringKeyGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FLocalizedStringKeyGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/t-osawa-009","download_url":"https://codeload.github.com/t-osawa-009/LocalizedStringKeyGen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/t-osawa-009%2FLocalizedStringKeyGen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33181411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["generate","generator","ios","localization","localizedstringkey","strings","swift","swiftui"],"created_at":"2025-01-10T12:32:02.025Z","updated_at":"2026-05-18T14:37:50.741Z","avatar_url":"https://github.com/t-osawa-009.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LocalizedStringKeyGen\n\nTool to generate a LocalizedStringKey\n\n## Installation\n### Makefile\n```sh\n$ git clone git@github.com:t-osawa-009/LocalizedStringKeyGen.git\n$ cd LocalizedStringKeyGen\n$ make install\n```\n\n### [Mint](https://github.com/yonaskolb/Mint)\n```sh\n$ brew install mint\n$ mint install t-osawa-009/LocalizedStringKeyGen\n```\n\n## Usage\n1. Prepare the original data, Localizable.strings.\n```\n\"hoge\"=\"hoge\";\n\n\"foo\"=\"foo\";\n\n\"bar\"=\"bar\";\n```\n\n2. Added `.LocalizedStringKeyGen.yml` to set the generation method.\n\n```yml\noutputs:\n  - enumName: Strings\n    output: Strings/Localizable.swift\n    sort: asc\n    publicAccess: true\n```\n\n3. Execute the command.\n```sh\n$ LocalizedStringKeyGen --localize_path Localizable.strings\n```\n4. The swift file is generated.\n```swift\n\nimport SwiftUI\n\npublic enum Strings {\n    public static var bar: LocalizedStringKey { return \"bar\"}\n    public static var foo: LocalizedStringKey { return \"foo\"}\n    public static var hoge: LocalizedStringKey { return \"hoge\"}\n}\n```\n\n## Configuration\n- You can customize the way files are generated by setting the `.LocalizedStringKeyGen.yml`.\n- `enumName` enum name\n- `output` File generation path\n- `sort` (optional) asc or desc\n- `publicAccess` (optional) Public Access\n\n```yml\noutputs:\n  - enumName: Strings\n    output: Strings/Localizable.swift\n    sort: asc\n    publicAccess: true\n```\n\n## CONTRIBUTING\n- There's still a lot of work to do here. We would love to see you involved. You can find all the details on how to get started in the Contributing Guide.\n\n## License\nLocalizedStringKeyGen is released under the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft-osawa-009%2Flocalizedstringkeygen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft-osawa-009%2Flocalizedstringkeygen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft-osawa-009%2Flocalizedstringkeygen/lists"}