{"id":22962319,"url":"https://github.com/zonble/flutter_open_chinese_convert","last_synced_at":"2025-08-13T06:33:46.193Z","repository":{"id":56829833,"uuid":"216829111","full_name":"zonble/flutter_open_chinese_convert","owner":"zonble","description":"Open Chinese Convert for Flutter","archived":false,"fork":false,"pushed_at":"2024-11-21T08:52:44.000Z","size":514,"stargazers_count":21,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-21T09:32:57.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/zonble.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-10-22T14:05:54.000Z","updated_at":"2024-11-21T08:52:42.000Z","dependencies_parsed_at":"2024-08-29T03:24:52.302Z","dependency_job_id":"1752bb1e-0349-4c27-a38a-f42c3db567fb","html_url":"https://github.com/zonble/flutter_open_chinese_convert","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2Fflutter_open_chinese_convert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2Fflutter_open_chinese_convert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2Fflutter_open_chinese_convert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonble%2Fflutter_open_chinese_convert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonble","download_url":"https://codeload.github.com/zonble/flutter_open_chinese_convert/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229743813,"owners_count":18117460,"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-14T19:16:33.071Z","updated_at":"2024-12-14T19:16:33.550Z","avatar_url":"https://github.com/zonble.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter_open_chinese_convert\n\n[![pub package](https://img.shields.io/pub/v/flutter_open_chinese_convert.svg)](https://pub.dev/packages/flutter_open_chinese_convert)\n[![Build](https://github.com/zonble/flutter_open_chinese_convert/actions/workflows/ci.yml/badge.svg)](https://github.com/zonble/flutter_open_chinese_convert/actions/workflows/ci.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/zonble/flutter_open_chinese_convert/blob/main/LICENSE)\n\nflutter_open_chinese_convert bridges OpenCC (開放中文轉換) to your Flutter\nprojects. You can use the package to convert Traditional Chinese to Simplified\nChinese, and vise versa.\n\nThe package supports various conversion options:\n\n- S2T: Simplified Chinese to Traditional Chinese.\n- T2S: Traditional Chinese to Simplified Chinese.\n- S2HK: Simplified Chinese to Traditional Chinese (Hong Kong Standard).\n- HK2S: Traditional Chinese (Hong Kong Standard) to Simplified Chinese.\n- S2TW: Simplified Chinese to Traditional Chinese (Taiwan Standard).\n- TW2S: Traditional Chinese (Taiwan Standard) to Simplified Chinese.\n- S2TWp: Simplified Chinese to Traditional Chinese (Taiwan Standard) with Taiwanese idiom.\n- TW2Sp: Traditional Chinese (Taiwan Standard) to Simplified Chinese with Mainland Chinese idiom.\n\n## Usage\n\nAll you need to do is to call `ChineseConverter.convert` with what you wan to\nconvert and a conversion option. For example:\n\n```dart\nimport 'package:flutter_open_chinese_convert/flutter_open_chinese_convert.dart';\n\nvar text = '鼠标里面的硅二极管坏了，导致光标分辨率降低。';\nvar result = await ChineseConverter.convert(text, S2TWp());\n// 滑鼠裡面的矽二極體壞了，導致游標解析度降低。\n```\n\nFor further information, please visit:\n\n- [OpenCC Project](https://github.com/BYVoid/OpenCC)\n- [SwiftyOpenCC](https://github.com/ddddxxx/SwiftyOpenCC)\n- [android-opencc](https://github.com/qichuan/android-opencc)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonble%2Fflutter_open_chinese_convert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonble%2Fflutter_open_chinese_convert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonble%2Fflutter_open_chinese_convert/lists"}