{"id":16123534,"url":"https://github.com/jlchntoz/opencc4unity","last_synced_at":"2025-03-18T12:31:22.714Z","repository":{"id":185226018,"uuid":"615623470","full_name":"JLChnToZ/OpenCC4Unity","owner":"JLChnToZ","description":"This is Open Chinese Convert ported to Unity C#.","archived":false,"fork":false,"pushed_at":"2023-03-18T15:18:46.000Z","size":463,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T09:18:07.034Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/JLChnToZ.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}},"created_at":"2023-03-18T07:22:29.000Z","updated_at":"2024-08-19T17:56:14.000Z","dependencies_parsed_at":"2023-08-01T06:12:20.356Z","dependency_job_id":null,"html_url":"https://github.com/JLChnToZ/OpenCC4Unity","commit_stats":null,"previous_names":["jlchntoz/opencc4unity"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FOpenCC4Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FOpenCC4Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FOpenCC4Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JLChnToZ%2FOpenCC4Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JLChnToZ","download_url":"https://codeload.github.com/JLChnToZ/OpenCC4Unity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926046,"owners_count":20369911,"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-10-09T21:17:06.228Z","updated_at":"2025-03-18T12:31:22.224Z","avatar_url":"https://github.com/JLChnToZ.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCC4Unity\n\nThis is [Open Chinese Convert](https://github.com/BYVoid/OpenCC/) ported to Unity C#.\n\n## Usage\n\n```csharp\nusing OpenCC.Unity;\n\nvar converter = new OpenChineseConverter();\n\nvar convertedText = converter.T2S(\"這一段用繁體中文寫的文字會變成簡體\");\nDebug.Log(convertedText); // Output: 这一段用繁体中文写的文字会变成简体\n```\n\n## Available APIs\n\n```csharp\n// Simplified Chinese to Traditional Chinese 簡體到繁體\nconverter.S2T(\"...\");\n// Traditional Chinese to Simplified Chinese 繁體到簡體\nconverter.T2S(\"...\");\n// Simplified Chinese to Traditional Chinese (Taiwan Standard) 簡體到臺灣正體\nconverter.S2TW(\"...\");\n// Traditional Chinese (Taiwan Standard) to Simplified Chinese 臺灣正體到簡體\nconverter.TW2S(\"...\");\n// Simplified Chinese to Traditional Chinese (Hong Kong variant) 簡體到香港繁體\nconverter.S2HK(\"...\");\n// Traditional Chinese (Hong Kong variant) to Simplified Chinese 香港繁體到簡體\nconverter.HK2S(\"...\");\n// Simplified Chinese to Traditional Chinese (Taiwan Standard) with Taiwanese idiom 簡體到繁體（臺灣正體標準）並轉換爲臺灣常用詞彙\nconverter.S2TWP(\"...\");\n// Traditional Chinese (Taiwan Standard) to Simplified Chinese with Mainland Chinese idiom 繁體（臺灣正體標準）到簡體並轉換爲中國大陸常用詞彙\nconverter.TW2SP(\"...\");\n// Traditional Chinese (OpenCC Standard) to Taiwan Standard 繁體（OpenCC 標準）到臺灣正體\nconverter.T2TW(\"...\");\n// Traditional Chinese (Hong Kong variant) to Traditional Chinese 香港繁體到繁體（OpenCC 標準）\nconverter.HK2T(\"...\");\n// Traditional Chinese (OpenCC Standard) to Hong Kong variant 繁體（OpenCC 標準）到香港繁體\nconverter.T2HK(\"...\");\n// Traditional Chinese Characters (Kyūjitai) to New Japanese Kanji (Shinjitai) 繁體（OpenCC 標準，舊字體）到日文新字體\nconverter.T2JP(\"...\");\n// New Japanese Kanji (Shinjitai) to Traditional Chinese Characters (Kyūjitai) 日文新字體到繁體（OpenCC 標準，舊字體）\nconverter.JP2T(\"...\");\n// Traditional Chinese (Taiwan standard) to Traditional Chinese 臺灣正體到繁體（OpenCC 標準）\nconverter.TW2T(\"...\");\n```\n\n## Installation\n\nUse the Unity package manager, press the `+` button at the top-left corner, select \"Add package from git URL\", paste this git repository URL: `https://github.com/JLChnToZ/OpenCC4Unity.git`.\n\n\n## License\n\n[MIT](LICENSE), also contains third-party asset, see [this notice](Third%20Party%20Notices.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlchntoz%2Fopencc4unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlchntoz%2Fopencc4unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlchntoz%2Fopencc4unity/lists"}