{"id":21813581,"url":"https://github.com/jshmrtn/vue3-gettext","last_synced_at":"2025-04-05T23:10:45.308Z","repository":{"id":43145657,"uuid":"290208112","full_name":"jshmrtn/vue3-gettext","owner":"jshmrtn","description":"Translate Vue 3 applications with gettext.","archived":false,"fork":false,"pushed_at":"2024-08-30T12:39:14.000Z","size":3413,"stargazers_count":79,"open_issues_count":13,"forks_count":25,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-29T22:05:06.101Z","etag":null,"topics":["gettext","i18n","internationalization","l10n","localization","translation","vue","vue3"],"latest_commit_sha":null,"homepage":"https://jshmrtn.github.io/vue3-gettext/","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/jshmrtn.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":"2020-08-25T12:23:51.000Z","updated_at":"2025-01-28T09:45:26.000Z","dependencies_parsed_at":"2024-08-06T18:46:54.539Z","dependency_job_id":"36c0ec97-da12-4561-8e45-4719bdabfadc","html_url":"https://github.com/jshmrtn/vue3-gettext","commit_stats":{"total_commits":110,"total_committers":11,"mean_commits":10.0,"dds":"0.13636363636363635","last_synced_commit":"46bf3e45daa74f3e921583ebfb69508b5678769e"},"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshmrtn%2Fvue3-gettext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshmrtn%2Fvue3-gettext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshmrtn%2Fvue3-gettext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jshmrtn%2Fvue3-gettext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jshmrtn","download_url":"https://codeload.github.com/jshmrtn/vue3-gettext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411235,"owners_count":20934653,"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":["gettext","i18n","internationalization","l10n","localization","translation","vue","vue3"],"created_at":"2024-11-27T14:30:07.586Z","updated_at":"2025-04-05T23:10:45.289Z","avatar_url":"https://github.com/jshmrtn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vue3-gettext\" target=\"_blank\"\u003e\n  Vue 3 Gettext 💬\n  \u003c/a\u003e\n\u003c/h1\u003e\n\u003cbr/\u003e\n\nTranslate [Vue 3](http://vuejs.org) applications with [gettext](https://en.wikipedia.org/wiki/Gettext).\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n \u003ca href=\"https://jshmrtn.github.io/vue3-gettext/\"\u003eGetting started\u003c/a\u003e | \u003ca href=\"https://jshmrtn.github.io/vue3-gettext/demo.html\"\u003eDemo\u003c/a\u003e | \u003ca href=\"https://jshmrtn.github.io/vue3-gettext/setup.html\"\u003eDocumentation\u003c/a\u003e | \u003ca href=\"README_zh.md\"\u003e中文\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n## Basic usage\n\nIn templates:\n\n```jsx\n\u003cspan\u003e\n  {{ $gettext(\"I'm %{age} years old!\", { age: 32 }) }}\n\u003c/span\u003e\n```\n\nIn code:\n\n```ts\nconst { $gettext } = useGettext();\n\nconsole.log($gettext(\"Hello World!\"));\n```\n\n## Features\n\n- simple, ergonomic API\n- reactive translations in Vue templates and TypeScript/JavaScript code\n- CLI to automatically extract messages from code files\n- support for pluralization and message contexts\n\n## Contribute\n\nPlease make sure your code is properly formatted (the project contains a `prettier` config) and all the tests run successfully (`npm run test`) when opening a pull request.\n\nPlease specify clearly what you changed and why.\n\n## Credits\n\nThis plugin relies heavily on the work of the original [`vue-gettext`](https://github.com/Polyconseil/vue-gettext/).\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshmrtn%2Fvue3-gettext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjshmrtn%2Fvue3-gettext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjshmrtn%2Fvue3-gettext/lists"}