{"id":15650581,"url":"https://github.com/whyboris/json-i18n-editor","last_synced_at":"2025-04-30T18:08:09.940Z","repository":{"id":42710025,"uuid":"224315449","full_name":"whyboris/JSON-i18n-Editor","owner":"whyboris","description":"Translate your i18n JSONs for your website or app with this tool","archived":false,"fork":false,"pushed_at":"2023-11-28T20:23:52.000Z","size":3733,"stargazers_count":37,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T18:07:53.925Z","etag":null,"topics":["angular","i18n","translation"],"latest_commit_sha":null,"homepage":"https://json-i18n-editor.now.sh","language":"TypeScript","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/whyboris.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-27T01:05:50.000Z","updated_at":"2024-10-10T10:50:31.000Z","dependencies_parsed_at":"2024-10-03T12:36:07.534Z","dependency_job_id":"86d7e860-91ed-4054-b532-46ea2875cecc","html_url":"https://github.com/whyboris/JSON-i18n-Editor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2FJSON-i18n-Editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2FJSON-i18n-Editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2FJSON-i18n-Editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whyboris%2FJSON-i18n-Editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whyboris","download_url":"https://codeload.github.com/whyboris/JSON-i18n-Editor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251758165,"owners_count":21638989,"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":["angular","i18n","translation"],"created_at":"2024-10-03T12:35:09.117Z","updated_at":"2025-04-30T18:08:09.916Z","avatar_url":"https://github.com/whyboris.png","language":"TypeScript","readme":"# JSON i18n Editor\n\n**JSON i18n Editor** helps you translate your JSON language files. It's an interface for you or your team to add and edit translations for your application or website.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"800\" alt=\"JSON-i18n-Editor\" src=\"https://user-images.githubusercontent.com/17264277/69726280-31ae7880-10ee-11ea-886a-e57c0c8106bc.png\"\u003e\n\u003c/p\u003e\n\n## Try it\n\n_Save functionality is disabled_ for the demo: https://json-i18n-editor.now.sh/\n- Login: `guest`\n- Pass: `guest`\n\n## Features\n\n- Shows three columns: original language, last-saved translation (if any), and editable text box.\n- When you change the text in the editable box, you see the _diff_: any text you remove from the last-saved translation is highlighted in red and any text you add is highlighted in green.\n- Original language and last-saved translation are independently searchable.\n- You can view one category at a time; view only untranslated fields, or only those you currently modified.\n- Clicking `REVIEW` shows only the text you have edited for a quick review.\n\n## How to use\n\nIt *requires* two input `JSON` files (currently hardcoded as an example: `en.json` \u0026 `de.json`) each of which must have a depth of 2, for example:\n```JSON\n{\n  \"categoryName\": {\n    \"keyName\": \"some text\",\n    \"anotherKey\": \"some text\",\n    ...\n  },\n  \"anotherCategory\" :{\n    \"keyName\": \"some text\",\n    ...\n  },\n  ...\n}\n```\n_The value of all the keys at depth 1 must always be objects containing only keys that have strings as values_\n\nThe structure of `en.json` is taken as authority on which keys must be present.\n\n## Server\n\nThe PHP folder has a rough-and-dirty set of files to serve as API endpoints for the front-end application.\n\n## Recommended workflow\n\n1. Create the source-of-truth original `en.json` file\n2. Use an [automated system](https://www.npmjs.com/package/translate-json-object) to translate all text into `de.json`\n3. Use **JSON i18n Editor** to fix the automated translation\n\n## Technology\n\n**JSON i18n Editor** is built with:\n- [Angular 13](https://angular.io/) (February 2022)\n- [ngx-virtual-scroller](https://github.com/rintoj/ngx-virtual-scroller)\n- [Quill](https://github.com/quilljs/quill)\n\n## Credits\n\nCreated for and used by [Health Impact Fund](https://healthimpactfund.org/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyboris%2Fjson-i18n-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhyboris%2Fjson-i18n-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyboris%2Fjson-i18n-editor/lists"}