{"id":26507600,"url":"https://github.com/instance-oom/i18n-locales","last_synced_at":"2026-04-28T12:02:27.407Z","repository":{"id":241082617,"uuid":"804263501","full_name":"instance-oom/i18n-locales","owner":"instance-oom","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T07:02:01.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T03:59:37.893Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/instance-oom.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,"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":"2024-05-22T09:07:04.000Z","updated_at":"2025-02-19T07:02:04.000Z","dependencies_parsed_at":"2025-10-12T20:19:13.909Z","dependency_job_id":"f9b57b0d-5f64-4edc-a3c1-e2feac8de3f3","html_url":"https://github.com/instance-oom/i18n-locales","commit_stats":null,"previous_names":["instance-oom/i18n-locales"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/instance-oom/i18n-locales","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance-oom%2Fi18n-locales","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance-oom%2Fi18n-locales/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance-oom%2Fi18n-locales/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance-oom%2Fi18n-locales/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/instance-oom","download_url":"https://codeload.github.com/instance-oom/i18n-locales/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/instance-oom%2Fi18n-locales/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2025-03-20T23:29:18.418Z","updated_at":"2026-04-28T12:02:27.390Z","avatar_url":"https://github.com/instance-oom.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 💿 Installation\n\n```sh\nnpm i @instance-oom/i18n-locales\n```\n\n```ts\n// vite.config.ts\nimport VueI18nLocalesPlugin from '@instance-oom/i18n-locales/vite';\n\nexport default defineConfig({\n  plugins: [\n    VueI18nLocalesPlugin({ dir: path.resolve(__dirname, './src/locales') }),\n    vue()\n  ],\n})\n```\n\n```ts\n// xxx.ts\nimport { createApp } from 'vue'\nimport { createI18n } from 'vue-i18n'\n/*\n * All i18n resources specified in the plugin `include` option can be loaded\n * at once using the import syntax\n */\nimport messages from '@instance-oom/i18n-locales/messages';\nimport { createI18nLocales } from '@instance-oom/i18n-locales/locales';\n\nconst i18n = createI18n({\n  locale: 'en',\n  messages: messages\n})\n\nconst app = createApp()\napp\n  .use(createI18nLocales())\n  .use(i18n)\n  .mount('#app');\n```\n\n```vue\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    {{ $t(LOCALES.xxx) }}\n  \u003c/div\u003e\n\u003c/template\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstance-oom%2Fi18n-locales","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finstance-oom%2Fi18n-locales","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finstance-oom%2Fi18n-locales/lists"}