{"id":19714656,"url":"https://github.com/quavedev/react-i18n","last_synced_at":"2025-06-29T03:33:48.561Z","repository":{"id":59623132,"uuid":"538201677","full_name":"quavedev/react-i18n","owner":"quavedev","description":"React i18n components","archived":false,"fork":false,"pushed_at":"2022-09-18T18:57:36.000Z","size":671,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-27T21:44:39.895Z","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/quavedev.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":"2022-09-18T18:23:43.000Z","updated_at":"2022-09-18T18:24:30.000Z","dependencies_parsed_at":"2022-09-19T18:42:28.040Z","dependency_job_id":null,"html_url":"https://github.com/quavedev/react-i18n","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/quavedev/react-i18n","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Freact-i18n","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Freact-i18n/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Freact-i18n/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Freact-i18n/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quavedev","download_url":"https://codeload.github.com/quavedev/react-i18n/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quavedev%2Freact-i18n/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262528269,"owners_count":23324523,"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-11-11T22:34:37.006Z","updated_at":"2025-06-29T03:33:48.545Z","avatar_url":"https://github.com/quavedev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React i18n components\n\n## Usage\n\n### Adding npm dependency in your project \n\n```shell\nnpm i @quave/react-i18n\n```\n\n```javascript\nimport { ENGLISH, PORTUGUESE, LanguageChange, useTranslate, Store } from '@quave/react-i18n';\n\nexport const TERMS = {\n    pageTitle: {\n        [ENGLISH]: 'English page title',\n        [PORTUGUESE]: 'Título da página em português',\n    },\n};\n\nconst LanguageTest = () =\u003e {\n  const { i18n } = useTranslate();\n  return \u003cdiv\u003e{i18n('pageTitle')}\u003c/div\u003e;\n};\n\nexport const App = () =\u003e (\n  \u003cStore languageData={TERMS}\u003e\n    \u003cLanguageChange {...args} /\u003e\n    \u003cLanguageTest /\u003e\n  \u003c/Store\u003e\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquavedev%2Freact-i18n","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquavedev%2Freact-i18n","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquavedev%2Freact-i18n/lists"}