{"id":18486232,"url":"https://github.com/mathsgod/nuxt-i18n-tc2sc","last_synced_at":"2026-04-29T00:31:25.868Z","repository":{"id":111497093,"uuid":"567204391","full_name":"mathsgod/nuxt-i18n-tc2sc","owner":"mathsgod","description":"A Nuxt.js module for automatically converting Traditional Chinese to Simplified Chinese.","archived":false,"fork":false,"pushed_at":"2023-02-16T04:13:17.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-13T22:24:23.159Z","etag":null,"topics":["nuxt","vue-i18n"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mathsgod.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":"2022-11-17T09:47:06.000Z","updated_at":"2022-11-18T03:03:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a3f1826-7c73-4bb7-b661-e885d45dbf32","html_url":"https://github.com/mathsgod/nuxt-i18n-tc2sc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mathsgod/nuxt-i18n-tc2sc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fnuxt-i18n-tc2sc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fnuxt-i18n-tc2sc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fnuxt-i18n-tc2sc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fnuxt-i18n-tc2sc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathsgod","download_url":"https://codeload.github.com/mathsgod/nuxt-i18n-tc2sc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fnuxt-i18n-tc2sc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32405901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: 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":["nuxt","vue-i18n"],"created_at":"2024-11-06T12:48:29.044Z","updated_at":"2026-04-29T00:31:25.853Z","avatar_url":"https://github.com/mathsgod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nuxt-i18n-tc2sc\nA Nuxt.js module for automatically converting Traditional Chinese to Simplified Chinese.\n\n## Install\n\nPrerequisites: [Nuxt@^2](https://nuxtjs.org/), [@nuxtjs/i18n@^7](https://i18n.nuxtjs.org/)\n\n## Setup\n\n1. Add `nuxt-i18n-tc2sc` dependency to your project\n\n2. Config nuxt.config.js\n\n```js\nexport default{\n    ...\n\n    modules: [\n        \"@nuxtjs/i18n\",\n        \"nuxt-i18n-tc2sc\"\n    ],\n\n    i18n:{\n        vueI18nLoader: true, //must be true\n        locales: ['tc', 'sc'],\n    }\n    ...\n}\n```\n\n## Example\n\nIn some vue page\n```vue\n\u003ci18n\u003e\n{\n  \"tc\": {\n    \"hello\": \"你好嗎?\"\n  }\n}\n\u003c/i18n\u003e\n\n\u003ctemplate\u003e\n  \u003cdiv\u003e\n    \u003ch1\u003e{{ $t('hello') }}\u003c/h1\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n```\n\nIt will be converted to \"你好吗?\" when locale is \"sc\"\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fnuxt-i18n-tc2sc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathsgod%2Fnuxt-i18n-tc2sc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fnuxt-i18n-tc2sc/lists"}