{"id":20019165,"url":"https://github.com/ty0x2333/tystrings","last_synced_at":"2025-05-04T23:31:44.591Z","repository":{"id":62585978,"uuid":"63791955","full_name":"ty0x2333/TyStrings","owner":"ty0x2333","description":"strings file tool for iOS / macOS developers","archived":false,"fork":false,"pushed_at":"2021-12-10T13:54:56.000Z","size":1106,"stargazers_count":18,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-13T19:05:15.082Z","etag":null,"topics":["developer-tools","diff","generate","ios","lint","macos","pip","strings","tool","translate"],"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/ty0x2333.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","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-07-20T15:18:51.000Z","updated_at":"2023-10-23T04:34:29.000Z","dependencies_parsed_at":"2022-11-03T22:05:40.851Z","dependency_job_id":null,"html_url":"https://github.com/ty0x2333/TyStrings","commit_stats":null,"previous_names":["luckytianyiyan/tystrings"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty0x2333%2FTyStrings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty0x2333%2FTyStrings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty0x2333%2FTyStrings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ty0x2333%2FTyStrings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ty0x2333","download_url":"https://codeload.github.com/ty0x2333/TyStrings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224416305,"owners_count":17307404,"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":["developer-tools","diff","generate","ios","lint","macos","pip","strings","tool","translate"],"created_at":"2024-11-13T08:26:14.451Z","updated_at":"2024-11-13T08:26:15.097Z","avatar_url":"https://github.com/ty0x2333.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. code-block::\n\n  _______     _____ _        _\n |__   __|   / ____| |      (_)\n    | |_   _| (___ | |_ _ __ _ _ __   __ _ ___\n    | | | | |\\___ \\| __| '__| | '_ \\ / _` / __|\n    | | |_| |____) | |_| |  | | | | | (_| \\__ \\\n    |_|\\__, |_____/ \\__|_|  |_|_| |_|\\__, |___/\n        __/ |                         __/ |\n       |___/                         |___/\n\n\n\nstrings file tool for iOS / macOS developers\n\n|pypi| |python| |build| |coverage| |license| |codebeat|\n\n|screenshot|\n\nInstallation\n============\n\n.. code-block:: bash\n\n  $ sudo pip install tystrings\n\nUsage\n-------\n.. code-block:: bash\n\n  $ tystrings -h\n    usage: tystrings [-h] [-v] [--utf8] [--version] {generate,translate,lint,diff} ...\n\n      _______     _____ _        _\n     |__   __|   / ____| |      (_)\n        | |_   _| (___ | |_ _ __ _ _ __   __ _ ___\n        | | | | |\\___ \\| __| '__| | '_ \\ / _` / __|\n        | | |_| |____) | |_| |  | | | | | (_| \\__ \\\n        |_|\\__, |_____/ \\__|_|  |_|_| |_|\\__, |___/\n            __/ |                         __/ |\n           |___/                         |___/\n\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      -v, --verbose         show more debugging information\n      --utf8                use encoding UTF-8\n      --version             show program's version number and exit\n\n    subcommands:\n      {generate,translate,lint,diff}\n        generate            generate `.strings` file from source code files.\n        translate           using Baidu Translate Service to translate `.strings` file.\n        lint                Validates a `.strings` file.\n        diff                Compare `.strings` files line by line.\n\nTo run `tystrings generate` over all .m files in your project, you can invoke it, for example, like this:\n\n.. code-block:: bash\n\n  $ tystrings generate $(find . -name \\*.m) -o en.lproj zh-Hans.lprog -v\n\ntranslate `.strings` file to another language:\n\n.. code-block:: bash\n\n  $ tystrings translate en.lproj/Localizable.strings zh-Hans.lproj/Localizable.strings --src-lang en --dst-lang zh\n\nvalidates `.strings` file:\n\n.. code-block:: bash\n\n  $ tystrings lint en.lproj/Localizable.strings\n\ncompare two `.strings` files:\n\n.. code-block:: bash\n\n  $ tystrings diff Localizable1.strings Localizable2.strings\n\n.. |pypi| image:: https://img.shields.io/pypi/v/TyStrings.svg?maxAge=2592000\n   :target: https://pypi.python.org/pypi/TyStrings\n   :alt: Python Package Index\n\n.. |python| image:: https://img.shields.io/badge/python-3-blue\n   :target: https://pypi.python.org/pypi/TyStrings\n   :alt: Python Version Support\n\n.. |license| image:: https://img.shields.io/github/license/luckytianyiyan/TyStrings.svg?maxAge=2592000\n   :target: LICENSE\n   :alt: MIT License\n\n.. |build| image:: https://img.shields.io/travis/luckytianyiyan/TyStrings.svg?maxAge=2592000\n   :target: https://travis-ci.org/luckytianyiyan/TyStrings\n   :alt: Continuous Integration\n\n.. |coverage| image:: https://coveralls.io/repos/github/luckytianyiyan/TyStrings/badge.svg\n   :target: https://coveralls.io/github/luckytianyiyan/TyStrings\n   :alt: Coverage Testing Results\n\n.. |screenshot| image:: https://raw.githubusercontent.com/luckytianyiyan/TyStrings/master/resource/tystrings.gif\n   :target: https://raw.githubusercontent.com/luckytianyiyan/TyStrings/master/resource/tystrings.gif\n   :alt: TyStrings Screenshot\n.. |codebeat| image:: https://codebeat.co/badges/91f19856-ae12-4423-b2cb-a883ec4b5e05\n   :target: https://codebeat.co/projects/github-com-luckytianyiyan-tystrings-master\n   :alt: Codebeat Badge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fty0x2333%2Ftystrings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fty0x2333%2Ftystrings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fty0x2333%2Ftystrings/lists"}