GithubHelp home page GithubHelp logo

c2c's Introduction

C2C

一键转换(简体|繁体)项目到(繁体|简体)项目

使用

将需要转换的项目、文件夹等资源复制到根目录下的 /input/ 文件夹下(如果不存在需手动创建),运行 npm run start 即可开始转换,期间会自动跳过二进制文件的转换,以免发生错误

忽略文件或文件夹

在根目录下的 .c2cignore 中添加需要忽略的内容即可,语法同 .gitignore

转换方法

修改根目录下的 config.js 文件中的 type 选项,可以是以下参数

Function name Translation
hongKongToSimplified Hong Kong to Simplified Chinese
simplifiedToHongKong Simplified Chinese to Hong Kong
simplifiedToTraditional Simplified Chinese to Traditional Chinese
simplifiedToTaiwan Simplified Chinese to Taiwan
simplifiedToTaiwanWithPhrases Simplified Chinese to Taiwan with phrases
traditionalToHongKong Traditional Chinese to Hong Kong
traditionalToSimplified Traditional Chinese to Simplified Chinese
traditionalToTaiwan Traditional Chinese to Taiwan
taiwanToSimplified Taiwan to Simplified Chinese
taiwanToSimplifiedWithPhrases Taiwan to Simplified Chinese with phrases

c2c's People

Contributors

ice-hazymoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.