利用MediaWiki 作中文简繁互换,支持不同地方中文用字上的分別(大陆、香港、台湾及新加坡)。
例子:(简 > 繁)面包 > 麵包 (zh-tw)寮国 > 老撾 (zh-hk)中国人寿 > 中國人壽 (zh-hk)罗纳尔多 > 朗拿度 (zh-hk)(繁 > 簡)記憶體 > 内存 (zh-cn)布殊 > 布什 (zh-cn)資料庫 > 数据库(zh-cn)使用方法
1. 下载 MediaWiki: (),解压在路径如:/var/lib/mediawiki-1.13.3
2. 下载 (上面的文件已经集成了),解压及把 mediawiki-zhconverter.inc.php 复制到你 PHP 程序中
3. 在你的程序中设置 MediaWiki 路径, 及引用 mediawiki-zhconverter
define("MEDIAWIKI_PATH", "/var/lib/mediawiki-1.14.0/");require_once "mediawiki-zhconverter.inc.php";4. 作出转换
/* MediaWikiZhConverter::convert( "字词", "转换目标"); 转换目标可选值为 zh, zh-cn, zh-tw, zh-sg, zh-hk*/echo MediaWikiZhConverter::convert("面包", "zh-tw");echo MediaWikiZhConverter::convert("記憶體", "zh-cn");echo MediaWikiZhConverter::convert("罗纳尔多", "zh-hk");5. 完成
支持版本
下列MediaWiki 版本已证实可以兼容本程式 (http://download.wikimedia.org/mediawiki):
PHP4: 1.6.10, 1.6.11
PHP5: 1.12.0, 1.13.3
如非必要,请使用 PHP5 版本。
打包下载地址

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Zend Studio 13.0.1
Powerful PHP integrated development environment

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
