This project is used for Drupal core search module and provide "Traditional Chinese" and "Simplified Chinese" cross search. Example, if you have some of the content contains the word "資料庫", and you're enter like "资料库", "资料庫" or "数据库"... all can be finded.
This module is base on Mediawiki and mediawiki-zhconverter which is from google project.
我的需求是.如果Search填入"天伦之乐".系統只會找這簡體字相關的資料
但是我要繁體字也做搜尋"天倫之樂"
SQL語法Select * From Tablename where (keys like '%天伦之乐%' or keys like '%天倫之樂%')
變這樣.我要去修正程式的哪一段就可以
轉換程式我寫好了
謝謝
Re: 如何修改Search的Keys
Jimmy大大製作的這個模塊應該可以滿足您的需要
http://drupal.org/project/ccsearch
This project is used for Drupal core search module and provide "Traditional Chinese" and "Simplified Chinese" cross search. Example, if you have some of the content contains the word "資料庫", and you're enter like "资料库", "资料庫" or "数据库"... all can be finded.
This module is base on Mediawiki and mediawiki-zhconverter which is from google project.
Demo: http://labs.xddnet.com/mediawiki-zhconverter/example/example.html
( 請留意 mediawiki-zhconverter 貌似只能在 PHP 5.2.x 正常做動 )
Re: 如何修改Search的Keys
我的需求是.如果Search填入"天伦之乐".系統只會找這簡體字相關的資料
但是我要繁體字也做搜尋"天倫之樂"
SQL語法Select * From Tablename where (keys like '%天伦之乐%' or keys like '%天倫之樂%')
變這樣.我要去修正程式的哪一段就可以
轉換程式我寫好了
謝謝