GithubHelp home page GithubHelp logo

laravel-zhconverter's Introduction

Laravel 繁簡轉換

安裝方式

  1. 在 composer.json中加入 "seta0909/laravel-zhconverter": "*"
  2. composer update
  3. 在 config/app.php 中加入 'Seta0909\LaravelZhconverter\LaravelZhconverterServiceProvider'

使用方式

###簡轉繁 ZhConvert::translate('无疑,这个村子弥漫着一种懒散而颓废的感觉>,这种感觉让我觉得非常的难受,比曾经我见过的那个无限轮回的死村还难受,毕竟无限轮回还有破除的消,这村子里的这种气氛无疑就是一种绝望','TW');

###繁轉簡 ZhConvert::translate('我是一個不大會拒絕人的人,看著這個中年人>,或者是老年人吧,我覺得幾根兒煙也無可厚非,于是我把剩下的半包全部給了他,他接過煙,嘿嘿一笑,也不說聲謝謝,轉身就要走','CN');

注意事項

  1. 目前只支援UTF-8

資料來源

繁簡字來源:http://www.mediawiki.org/wiki/MediaWiki

laravel-zhconverter's People

Contributors

seta0909 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.