{"id":23886029,"url":"https://github.com/hamidfzm/ra-language-farsi","last_synced_at":"2026-04-18T00:07:51.878Z","repository":{"id":32889801,"uuid":"145254744","full_name":"hamidfzm/ra-language-farsi","owner":"hamidfzm","description":"Farsi translations for react admin","archived":false,"fork":false,"pushed_at":"2024-12-08T09:53:12.000Z","size":520,"stargazers_count":35,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-17T10:27:28.021Z","etag":null,"topics":["admin-on-rest","farsi","react","react-admin","reactjs","translation"],"latest_commit_sha":null,"homepage":"http://marmelab.com/react-admin","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamidfzm.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":"2018-08-18T21:46:23.000Z","updated_at":"2024-12-08T09:53:14.000Z","dependencies_parsed_at":"2024-06-19T13:23:03.133Z","dependency_job_id":"770f64ad-5f24-44ff-93cb-ae06bd8867ad","html_url":"https://github.com/hamidfzm/ra-language-farsi","commit_stats":{"total_commits":60,"total_committers":8,"mean_commits":7.5,"dds":0.2666666666666667,"last_synced_commit":"df40621d0a62d663a37607d2a235d75119f21140"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/hamidfzm/ra-language-farsi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidfzm%2Fra-language-farsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidfzm%2Fra-language-farsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidfzm%2Fra-language-farsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidfzm%2Fra-language-farsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamidfzm","download_url":"https://codeload.github.com/hamidfzm/ra-language-farsi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamidfzm%2Fra-language-farsi/sbom","scorecard":{"id":453834,"data":{"date":"2025-08-11","repo":{"name":"github.com/hamidfzm/ra-language-farsi","commit":"9d773243e224d254cfa78713ce51712a36bba178"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"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":"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":"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/build.yml:1","Warn: no topLevel permission defined: .github/workflows/npm-publish.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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 4/21 approved changesets -- score normalized to 1","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":"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/build.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/hamidfzm/ra-language-farsi/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/hamidfzm/ra-language-farsi/build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/hamidfzm/ra-language-farsi/npm-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/hamidfzm/ra-language-farsi/npm-publish.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned 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":"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: BSD 2-Clause \"Simplified\" 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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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 13 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":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"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-19T08:59:55.547Z","repository_id":32889801,"created_at":"2025-08-19T08:59:55.547Z","updated_at":"2025-08-19T08:59:55.547Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31950895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"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":["admin-on-rest","farsi","react","react-admin","reactjs","translation"],"created_at":"2025-01-04T05:56:31.351Z","updated_at":"2026-04-18T00:07:51.862Z","avatar_url":"https://github.com/hamidfzm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Farsi Translations for React-Admin\n\nFarsi translations for [React-Admin](https://github.com/marmelab/react-admin), the frontend framework for building admin applications on top of REST/GraphQL services.\n\n[![react-admin-demo](https://marmelab.com/react-admin/img/react-admin-demo-still.png)](https://vimeo.com/268958716)\n\n## Installation\n\n### npm\n```sh\nnpm install --save ra-language-farsi\n```\n\n### yarn\n```sh\nyarn add ra-language-farsi\n```\n\n## Usage\n\n```js\nimport farsiMessages from 'ra-language-farsi';\nimport polyglotI18nProvider from 'ra-i18n-polyglot';\n\nconst messages = {\n    'fa': farsiMessages,\n};\n\nconst i18nProvider = polyglotI18nProvider(locale =\u003e messages[locale], 'fa');\n\n\u003cAdmin i18nProvider={i18nProvider}\u003e\n  ...\n\u003c/Admin\u003e\n```\n\n## RTL\nMaterial UI is already supprting RTL, so we can add its support to React Admin using these 2 steps:\n\n1. Change `dir` property to `rtl` in your root elements (like body).\n\n\nUsing HTML (*public/index.html*):\n```html\n\u003cbody\u003e\n\u003cnoscript\u003e\n  You need to enable JavaScript to run this app.\n\u003c/noscript\u003e\n\u003cdiv id=\"root\" dir=\"rtl\"\u003e\u003c/div\u003e\n\u003c/body\u003e\n```\n\nUsing CSS style:\n```css\nbody {\n  direction: rtl;\n}\n```\n\nOr Pure JS:\n```js\ndocument.getElementsByTagName(\"body\")[0].setAttribute('dir', 'rtl');\n```\n\n2. Change the theme direction ([MUI theme direction](https://mui.com/material-ui/customization/right-to-left/#2-set-the-theme-direction))\n```javascript\nimport { defaultTheme } from \"react-admin\";\nimport { deepmerge } from \"@mui/utils\";\n\nconst theme = deepmerge(defaultTheme, { direction: \"rtl\" });\n```\n\n3. Configure RTL style plugin ([MUI doc](https://mui.com/material-ui/customization/right-to-left/#3-configure-rtl-style-plugin))\n\n```javascript\nimport { CacheProvider } from \"@emotion/react\";\nimport createCache from \"@emotion/cache\";\nimport { prefixer } from \"stylis\";\nimport rtlPlugin from \"stylis-plugin-rtl\";\n\n// Configure cache\nconst cacheRtl = createCache({\n    key: \"muirtl\",\n    stylisPlugins: [prefixer, rtlPlugin],\n});\n\nconst App = () =\u003e (\n   \u003cCacheProvider value={cacheRtl}\u003e\n        \u003cAdmin theme={theme}\u003e\n            // ...\n        \u003c/Admin\u003e\n    \u003c/CacheProvider\u003e\n);\n```\n\n## Version Compatibility\n- For React-Admin v5, use version 5.x of this package.\n- For React-Admin v4, use version 4.x of this package.\n- For React-Admin v3, use version 3.x of this package.\n- For React-Admin v2, use version 2.x of this package.\n- For React-Admin v1, use version 1.x of this package.\n\n## License\n\nThis translation is licensed under the [BSD Licence](LICENSE), and sponsored by [Hamid FzM](https://hamidfzm.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamidfzm%2Fra-language-farsi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamidfzm%2Fra-language-farsi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamidfzm%2Fra-language-farsi/lists"}