{"id":23248381,"url":"https://github.com/brkn/ember-i18n-export-json","last_synced_at":"2025-06-30T06:32:49.635Z","repository":{"id":42821211,"uuid":"267559477","full_name":"brkn/ember-i18n-export-json","owner":"brkn","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T07:15:13.000Z","size":212,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-27T21:48:12.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/brkn.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}},"created_at":"2020-05-28T10:23:57.000Z","updated_at":"2020-05-28T10:29:28.000Z","dependencies_parsed_at":"2023-02-05T14:47:33.408Z","dependency_job_id":null,"html_url":"https://github.com/brkn/ember-i18n-export-json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brkn/ember-i18n-export-json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brkn%2Fember-i18n-export-json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brkn%2Fember-i18n-export-json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brkn%2Fember-i18n-export-json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brkn%2Fember-i18n-export-json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brkn","download_url":"https://codeload.github.com/brkn/ember-i18n-export-json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brkn%2Fember-i18n-export-json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262723806,"owners_count":23354117,"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":[],"created_at":"2024-12-19T08:13:42.885Z","updated_at":"2025-06-30T06:32:49.603Z","avatar_url":"https://github.com/brkn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### How to run \n\n1. To copy all locale.js files with thier original paths run a similiar command like the below.\n    - Make sure you clone this repository as a seibling to your target repository. If it is not seibling, edit the paths according to your setup.\n    - `cd` into your TARGET directory then run this command. Then come back to this repo directory.\n    - I've used `fd` for this. It's an alternative to unix find command. You can install via `brew install fd`. \n        ```sh\n        fd locale.js -x sh -c \"mkdir -p ../ember-i18n-export-json/{//}; cp {} ../ember-i18n-export-json/{}\"\n        ```\n2. Copy and paste your main locale file where you have all your locale.js imports to `index.js`. Move all imports into the translations object.\n3. `npm install`\n4. Fix the paths at the scripts at package.json. It needs babel to transpile all `es6 import`.\n5. Then run this to have your json\n    ```sh\n    npm run start \u003e tr.json\n    ```\n6. Cleanup the other output at the top of your file.\n7. Optionally you can run prettier here.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrkn%2Fember-i18n-export-json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrkn%2Fember-i18n-export-json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrkn%2Fember-i18n-export-json/lists"}