{"id":19174034,"url":"https://github.com/onezens/autolocalization","last_synced_at":"2025-04-15T21:23:31.533Z","repository":{"id":53181753,"uuid":"55705289","full_name":"onezens/AutoLocalization","owner":"onezens","description":"iOS Auto Localization for xib and storyboard","archived":false,"fork":false,"pushed_at":"2019-07-01T06:55:01.000Z","size":36,"stargazers_count":135,"open_issues_count":4,"forks_count":33,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T01:24:16.516Z","etag":null,"topics":["autogenstrings","autolocalization","ios","localization"],"latest_commit_sha":null,"homepage":"","language":"Python","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/onezens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-07T15:19:50.000Z","updated_at":"2024-12-03T10:02:35.000Z","dependencies_parsed_at":"2022-08-22T21:30:31.920Z","dependency_job_id":null,"html_url":"https://github.com/onezens/AutoLocalization","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onezens%2FAutoLocalization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onezens%2FAutoLocalization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onezens%2FAutoLocalization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onezens%2FAutoLocalization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onezens","download_url":"https://codeload.github.com/onezens/AutoLocalization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249155150,"owners_count":21221549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["autogenstrings","autolocalization","ios","localization"],"created_at":"2024-11-09T10:15:45.870Z","updated_at":"2025-04-15T21:23:31.489Z","avatar_url":"https://github.com/onezens.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoLocalization\n\nxib和storyboard自动国际化，iOS开发者必备工具\n\n[查看自动国际化脚本](https://github.com/onezens/AutoLocalization/blob/master/AutoLocalization/RunScript/AutoGenStrings.py)\n\n**如果你在使用的时候，有任何问题，或者需要添加的新功能，请给我邮件，或者issues我**\n\n**目前支持python版本：** python2\n\n## 脚本升级记录  \n \n \n 1. 2017.06.02 自动化脚本在原先作者的基础上进行修改，现在同一个文件，支持xib和storyboard的一次性国际化\n 2. 2017.8.10 遍历项目根目录下所有xib、storyboard文件并且国际化\n\n## 用法\n  1. 将存放脚本文件的文件夹，导入脚本文件到项目的`根目录`\n  2. 选择项目 -\u003e targes -\u003e Build Phases -\u003e + -\u003e New Run Script Phase\n  3. 添加两个运行脚本，其中一个添加脚本`python ${SRCROOT}/${TARGET_NAME}/RunScript/AutoGenStrings.py ${SRCROOT}/${TARGET_NAME}`\n  4. 分别创建一个xib和storyboard，然后开启国际化后，添加控件，Command + B 后查看你的国际化文件\n  \n  \n  ![](http://upload-images.jianshu.io/upload_images/1216462-9f20ceca2e58bebb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)\n  \n## 效果图\n![](http://upload-images.jianshu.io/upload_images/1216462-c6978ae9c7814094.gif?imageMogr2/auto-orient/strip)\n\n## 国际化详解博客\n[http://www.jianshu.com/p/7e1c7c210ec2](http://www.jianshu.com/p/7e1c7c210ec2)\n\n## 注意\n文件路径中不能拥有空格，否则Xcode脚本会找不到文件的错误\n\n## 引用(最初脚本来源)\n[http://www.cnblogs.com/levilinxi/p/4296712.html](http://www.cnblogs.com/levilinxi/p/4296712.html)\n\n  \n\n  \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonezens%2Fautolocalization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonezens%2Fautolocalization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonezens%2Fautolocalization/lists"}