{"id":22780053,"url":"https://github.com/zyao89/i18nutils","last_synced_at":"2025-03-30T14:15:45.912Z","repository":{"id":144074571,"uuid":"134439794","full_name":"zyao89/i18nUtils","owner":"zyao89","description":"可对多国语言进行转换，输入输出。并可检测 key 关键字的正确性与重复关键字，可输出报告结果。","archived":false,"fork":false,"pushed_at":"2018-05-22T18:15:56.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T15:52:40.737Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zyao89.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-05-22T15:57:43.000Z","updated_at":"2018-05-22T18:15:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea7972e6-011a-4155-9131-e6fdec76add3","html_url":"https://github.com/zyao89/i18nUtils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyao89%2Fi18nUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyao89%2Fi18nUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyao89%2Fi18nUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyao89%2Fi18nUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zyao89","download_url":"https://codeload.github.com/zyao89/i18nUtils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326783,"owners_count":20759439,"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-12-11T20:12:08.391Z","updated_at":"2025-03-30T14:15:45.896Z","avatar_url":"https://github.com/zyao89.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## i18n 多语言处理工具\n\n\u003e 可对多国语言进行转换，输入输出。并可检测 key 关键字的正确性与重复关键字，可输出报告结果。\n\n### First Step\n```sh\nnpm install\n```\n\n### JSON to Excel\n```js\nconst i18nUtils = require(\"../i18nUtils\");\ni18nUtils.toExcel();\n```\n\n\n### Excel to JSON\n```js\nconst i18nUtils = require(\"../i18nUtils\");\ni18nUtils.toJson();\n```\n\n\n### JSON 中 Key 值检测\n```js\nconst i18nUtils = require(\"../i18nUtils\");\ni18nUtils.toCheck();\n```\n\n\n### config 配置使用\n```js\n// config/index.js\n{\n  jsonPath: \"../json\", // JSON根路径\n  excelPath: \"../excel\", // Excel根路径\n  resultPath: \"../result\", // 检查结果根路径\n  fileName: \"i18n_字符串.xlsx\", // Excel文件名\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyao89%2Fi18nutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzyao89%2Fi18nutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyao89%2Fi18nutils/lists"}