{"id":13683729,"url":"https://github.com/gilbsgilbs/babel-plugin-i18next-extract","last_synced_at":"2026-01-27T11:07:53.434Z","repository":{"id":37789856,"uuid":"193344820","full_name":"gilbsgilbs/babel-plugin-i18next-extract","owner":"gilbsgilbs","description":"Babel plugin that statically extracts i18next and react-i18next translation keys.","archived":false,"fork":false,"pushed_at":"2026-01-19T18:11:24.000Z","size":2188,"stargazers_count":169,"open_issues_count":42,"forks_count":39,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-01-20T00:38:59.016Z","etag":null,"topics":["babel-plugin","extractor","i18n","i18next","internationalization","react","react-i18next","static-analysis"],"latest_commit_sha":null,"homepage":"https://i18next-extract.netlify.com","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/gilbsgilbs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-23T12:22:48.000Z","updated_at":"2025-08-31T08:27:11.000Z","dependencies_parsed_at":"2023-02-16T04:46:11.301Z","dependency_job_id":"27d7c8fe-dd99-4ff7-a7de-09469dd83d7f","html_url":"https://github.com/gilbsgilbs/babel-plugin-i18next-extract","commit_stats":{"total_commits":228,"total_committers":21,"mean_commits":"10.857142857142858","dds":0.3421052631578947,"last_synced_commit":"7da6c082c77e5912d723223c8c7ca732ed99f078"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/gilbsgilbs/babel-plugin-i18next-extract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbsgilbs%2Fbabel-plugin-i18next-extract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbsgilbs%2Fbabel-plugin-i18next-extract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbsgilbs%2Fbabel-plugin-i18next-extract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbsgilbs%2Fbabel-plugin-i18next-extract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilbsgilbs","download_url":"https://codeload.github.com/gilbsgilbs/babel-plugin-i18next-extract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilbsgilbs%2Fbabel-plugin-i18next-extract/sbom","scorecard":{"id":426758,"data":{"date":"2025-08-11","repo":{"name":"github.com/gilbsgilbs/babel-plugin-i18next-extract","commit":"1595a44e3bb5c77dbf5333e6b3f863a70e8fc8d9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.9,"checks":[{"name":"Code-Review","score":4,"reason":"Found 2/5 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":8,"reason":"10 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/gilbsgilbs/babel-plugin-i18next-extract/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/gilbsgilbs/babel-plugin-i18next-extract/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/gilbsgilbs/babel-plugin-i18next-extract/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/gilbsgilbs/babel-plugin-i18next-extract/main.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/gilbsgilbs/babel-plugin-i18next-extract/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/gilbsgilbs/babel-plugin-i18next-extract/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/gilbsgilbs/babel-plugin-i18next-extract/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/gilbsgilbs/babel-plugin-i18next-extract/main.yml/master?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T02:23:45.613Z","repository_id":37789856,"created_at":"2025-08-19T02:23:45.613Z","updated_at":"2025-08-19T02:23:45.613Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["babel-plugin","extractor","i18n","i18next","internationalization","react","react-i18next","static-analysis"],"created_at":"2024-08-02T13:02:27.133Z","updated_at":"2026-01-27T11:07:53.400Z","avatar_url":"https://github.com/gilbsgilbs.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003c!-- {% if false %} --\u003e\n\u003c!-- Don't render this in actual documentation --\u003e\n![Logo](./docs/assets/imgs/babel-plugin-i18next-extract.png)\n\u003c!-- {% endif %} --\u003e\n\n# babel-plugin-i18next-extract\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![CI](https://github.com/gilbsgilbs/babel-plugin-i18next-extract/actions/workflows/main.yml/badge.svg)](https://github.com/gilbsgilbs/babel-plugin-i18next-extract/actions/workflows/main.yml)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/c3597f83-d80e-428e-b194-f11fe162a893/deploy-status)](https://app.netlify.com/sites/i18next-extract/deploys)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/e4badc4fb62625cbff0e/test_coverage)](https://codeclimate.com/github/gilbsgilbs/babel-plugin-i18next-extract/test_coverage)\n\n[![NPM](https://nodei.co/npm/babel-plugin-i18next-extract.png?downloads=true)](https://www.npmjs.com/package/babel-plugin-i18next-extract)\n\n---\n\nbabel-plugin-i18next-extract is a [Babel Plugin](https://babeljs.io/docs/en/plugins/) that will\ntraverse your Javascript/Typescript code in order to find i18next translation keys.\n\n## Features\n\n- ✅ Keys extraction in [JSONv4 format](https://www.i18next.com/misc/json-format).\n- ✅ Detection of `i18next.t()` function calls.\n- ✅ Full [react-i18next](https://react.i18next.com/) support.\n- ✅ Plurals support.\n- ✅ Contexts support.\n- ✅ Namespace detection.\n- ✅ Disable extraction on a specific file sections or lines using [comment hints](\n  https://i18next-extract.netlify.app/#/comment-hints?id=disable-extraction-on-a-specific-line-or-code-section).\n- ✅ Overwrite namespaces, plurals and contexts on-the-fly using [comment hints](\n  https://i18next-extract.netlify.app/#/comment-hints?id=explicitly-specify-contexts-for-a-key).\n- [… and more?](https://i18next-extract.netlify.app/#/contributing)\n\n\u003c!-- {% if false %} --\u003e\n\u003c!-- Don't render this in actual documentation --\u003e\n\n## Documentation\n\nYou can check out the full documentation at [i18next-extract.netlify.app](\nhttps://i18next-extract.netlify.app).\n\n\u003c!-- {% endif %} --\u003e\n\n## Quick Start\n\n### Installation\n\n```bash\nyarn add --dev babel-plugin-i18next-extract\n\n# or\n\nnpm i --save-dev babel-plugin-i18next-extract\n```\n\n### Minimal configuration\n\n\u003e If you don't have a babel configuration yet, you can follow the [Configure Babel](\nhttps://babeljs.io/docs/en/configuration) documentation page to get started.\n\nDeclare the plugin like any other plugin in your `.babelrc` and you're good to go:\n\n```javascript\n{\n  \"plugins\": [\n    \"i18next-extract\",\n    // […] your other plugins […]\n  ]\n}\n```\n\nYou may want to specify additional configuration options:\n\n```javascript\n{\n  \"plugins\": [\n    [\"i18next-extract\", {\"nsSeparator\": \"~\"}],\n    // […] your other plugins […]\n  ]\n}\n```\n\n\u003e For an exhaustive list of configuration options, check out the [Configuration](\nhttps://i18next-extract.netlify.app/#/configuration) page.\n\nOnce the plugin is setup, you can build your app normally or run Babel through [Babel CLI](\nhttps://babeljs.io/docs/en/babel-cli):\n\n```bash\nyarn run babel -f .babelrc 'src/**/*.{js,jsx,ts,tsx}'\n\n# or\n\nnpm run babel -f .babelrc 'src/**/*.{js,jsx,ts,tsx}'\n```\n\nExtracted translations land in the `extractedTranslations/` directory by default.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilbsgilbs%2Fbabel-plugin-i18next-extract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilbsgilbs%2Fbabel-plugin-i18next-extract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilbsgilbs%2Fbabel-plugin-i18next-extract/lists"}