{"id":15384003,"url":"https://github.com/rwieruch/react-i18n-example","last_synced_at":"2025-07-29T09:34:12.974Z","repository":{"id":70925796,"uuid":"238446567","full_name":"rwieruch/react-i18n-example","owner":"rwieruch","description":"React i18n Example with react-i18next","archived":false,"fork":false,"pushed_at":"2020-06-12T08:19:00.000Z","size":134,"stargazers_count":27,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-21T22:09:30.710Z","etag":null,"topics":["i18n","i18next","i18next-backend","react","react-i18n","react-i18next","reactjs"],"latest_commit_sha":null,"homepage":"https://www.robinwieruch.de","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/rwieruch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"rwieruch","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-02-05T12:36:10.000Z","updated_at":"2025-05-21T18:51:26.000Z","dependencies_parsed_at":"2023-04-11T18:18:40.003Z","dependency_job_id":null,"html_url":"https://github.com/rwieruch/react-i18n-example","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"1cd9e340d93f4d9c40ed3b75d48e12f1dcaa7b1f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rwieruch/react-i18n-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Freact-i18n-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Freact-i18n-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Freact-i18n-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Freact-i18n-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwieruch","download_url":"https://codeload.github.com/rwieruch/react-i18n-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwieruch%2Freact-i18n-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267662654,"owners_count":24123918,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["i18n","i18next","i18next-backend","react","react-i18n","react-i18next","reactjs"],"created_at":"2024-10-01T14:40:21.098Z","updated_at":"2025-07-29T09:34:12.916Z","avatar_url":"https://github.com/rwieruch.png","language":"JavaScript","funding_links":["https://github.com/sponsors/rwieruch"],"categories":[],"sub_categories":[],"readme":"# react-i18next example\n\n- https://github.com/i18next/react-i18next\n- https://www.npmjs.com/package/react-i18next\n- https://react.i18next.com/\n\n[Read more about it.](https://www.robinwieruch.de/react-internationalization)\n\n## Installation\n\n- `git clone \u003crepo\u003e`\n- `cd frontend`\n- `npm install`\n- `npm start`\n\n## Walkthrough\n\n#### Setup\n\n- see package.json for libraries\n- see src/i18n.js for library setup\n- see src/index.js for library setup import\n- see src/App.js for usage\n\n#### Extracting Translations\n\nReference: https://react.i18next.com/guides/extracting-translations\n\n- 1. Manual\n\n- 2. Extraction Tool\n\n  - https://www.npmjs.com/package/i18next-scanner\n  - https://www.npmjs.com/package/i18next-parser (used)\n    - see _frontend/src/i18n.js_ and _package.json_\n  - https://www.npmjs.com/package/babel-plugin-i18next-extract\n\n- 3. Runtime Extraction with Backend\n\n  - custom Express backend (Reference: https://github.com/i18next/i18next-express-middleware)\n  - see _frontend/src/i18n.js_ and _backend/_\n\n## Alternative Libraries\n\n### react-intl\n\n- https://github.com/formatjs/react-intl\n- https://www.npmjs.com/package/react-intl\n\n### js-lingui\n\n- https://github.com/lingui/js-lingui\n- https://www.npmjs.com/package/@lingui/react\n- https://lingui.js.org/tutorials/setup-cra.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwieruch%2Freact-i18n-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwieruch%2Freact-i18n-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwieruch%2Freact-i18n-example/lists"}