{"id":17285649,"url":"https://github.com/imbrn/cocos-strings","last_synced_at":"2025-07-04T00:05:11.743Z","repository":{"id":113719754,"uuid":"85606714","full_name":"imbrn/cocos-strings","owner":"imbrn","description":"Cocos2d-x helping tool to work with strings files.","archived":false,"fork":false,"pushed_at":"2017-03-20T18:42:48.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T16:52:59.751Z","etag":null,"topics":["clean-code","cocos2d-x","strings","tool"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/imbrn.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":"2017-03-20T17:33:31.000Z","updated_at":"2017-07-06T21:34:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"10e2935b-ae4c-4233-b077-03d1b688ce8b","html_url":"https://github.com/imbrn/cocos-strings","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/imbrn%2Fcocos-strings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbrn%2Fcocos-strings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbrn%2Fcocos-strings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbrn%2Fcocos-strings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imbrn","download_url":"https://codeload.github.com/imbrn/cocos-strings/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbrn%2Fcocos-strings/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":257177298,"owners_count":22501734,"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":["clean-code","cocos2d-x","strings","tool"],"created_at":"2024-10-15T09:57:04.272Z","updated_at":"2025-07-04T00:05:11.691Z","avatar_url":"https://github.com/imbrn.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Cocos Strings\n===\n\n[Cocos2d-x](http://cocos2d-x.org/) helping tool to work with strings files.\n\nThis tool was developed to provide an easy way to read strings from a file.\n\n\n## How to use\n\n* Add `cocos2d/external` to include directories.\n\n* Add the project files to your include directories and path.\n\n* Create json:\n\n```json\n{\n    \"name\": \"My name\",\n    \"other_key\": \"Other key value\",\n    \"many_strings\": [\"string one\", \"string two\", \"string three\"]\n}\n```\n\n* In your code:\n\n```c++\n    auto my_strings = strings::Strings::fromJsonFile(\"strings.json\");\n\n    // Ready single string\n    auto name = my_strings.get_string(\"name\");\n\n    // Ready many strings\n    auto many_strings = my_strings.get_strings(\"many_strings\");\n}\n```\n\n\n## Dependencies \n\n* [Cocos2d-x](http://cocos2d-x.org/) 3.14 or higher.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbrn%2Fcocos-strings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimbrn%2Fcocos-strings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbrn%2Fcocos-strings/lists"}