這外掛似乎只能單方向翻譯依夢兒 寫:歐美語系可以參考 Translate posts :
http://mods.db9.dk/viewforum.php?f=33
他好像是依照論壇使用的語言翻到你想轉的語言
不能30國語言互相翻譯 只能將論壇使用的語言翻譯成30國語言
30國語言裡就是沒有繁體中文的語系翻譯 只有簡體的
版主: 版主管理群
這外掛似乎只能單方向翻譯依夢兒 寫:歐美語系可以參考 Translate posts :
http://mods.db9.dk/viewforum.php?f=33

基本上翻譯出來的文章~~~依夢兒 寫:歐美語系可以參考 Translate posts :
http://mods.db9.dk/viewforum.php?f=33
歐美語系互轉的成熟度還算可以;勉強及格。messagebox 寫:基本上翻譯出來的文章~~~依夢兒 寫:歐美語系可以參考 Translate posts :
http://mods.db9.dk/viewforum.php?f=33
應該沒有辦法閱讀吧~~~

- 依夢兒 寫到:
不好意思喲....讓你打那麼多字。
我在你回答之前就已經搞定了....
- massagebox 寫到:
所以~~不行~~~~
我剛剛也試過了,的確不行。
因為我論壇上原來就有一些文章是中國大陸的網友用簡體中文發表的,所以一裝完就知道有沒有效。
結論就是:
繁體網站轉簡體網站 > 可以。
簡體網站轉繁體網站 > 應該也是可以。
繁體網站上有簡體文章轉繁體 > 不可以。
成功了~~
現在可以做到簡繁互換~~
即使大陸網友來也OK~
大概說一下原理~~
今天當有人使用GB來發表文章~
將他所輸入的文字等全部轉成BIG5~
如此一來~~就可以達到簡體字用繁體字看~
代碼: 選擇全部
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/common.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/includes/sessions.php on line 293
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/includes/sessions.php on line 294
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/viewtopic.php on line 555
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/includes/page_header.php on line 26
Fatal error: Cannot redeclare class ccharset in /home/customer/tgblife.com.tw/www/phpbb2/ccharset.php on line 5
代碼: 選擇全部
include('includes/ccharset.php');
header("Content-Type: text/html; charset=".$lang_chk);
代碼: 選擇全部
[color=red]Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/common.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/includes/sessions.php on line 293
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/includes/sessions.php on line 294
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/viewtopic.php on line 555
Warning: Cannot modify header information - headers already sent by (output started at /home/customer/tgblife.com.tw/www/phpbb2/includes/ccharset.php:1) in /home/customer/tgblife.com.tw/www/phpbb2/includes/page_header.php on line 26
沒辦法再送出檔頭~應該是說程式已經把檔頭送出去了~且現在已經開始作標準輸出~
[/color]
Fatal error: Cannot redeclare class ccharset in /home/customer/tgblife.com.tw/www/phpbb2/ccharset.php on line 5
代碼: 選擇全部
include('includes/ccharset.php');
header("Content-Type: text/html; charset=".$lang_chk);

這個試過小心得
原來問題出在
includes/page_header.php
中已經有加入檔頭//判斷使用者是否有送出語系要求有就寫入COOKIE
if (isset($c_lang)) {
setcookie('clang',$c_lang,time()+3600);
} else {
$c_lang=$HTTP_COOKIE_VARS['clang'];
}
include('ccharset.php');
上面引用的最後一行刪掉,應該就沒有重複宣告的問題了。

代碼: 選擇全部
ccharset.phpトニミワ�08"ニテ�ニ�ャニ��ニ�ュ������������ニ�ミワ�0ニ���� <。�ワキュ�ネク�*'��ーA��ZH TaipeiUs�Us�ク�*'HHR*ch� Courier Helvetica Confidential����P B ��ZSORT「�ZBBSTZMPSR&styl2���Lァ�t���ァ�����hァ�
Warning: Cannot modify header information - headers already sent by (output started at /home/monashop/public_html/bbs/includes/ccharset.php:1) in /home/monashop/public_html/bbs/common.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /home/monashop/public_html/bbs/includes/ccharset.php:1) in /home/monashop/public_html/bbs/includes/sessions.php on line 305
Warning: Cannot modify header information - headers already sent by (output started at /home/monashop/public_html/bbs/includes/ccharset.php:1) in /home/monashop/public_html/bbs/includes/sessions.php on line 306
Parse error: parse error, unexpected '&' in /home/monashop/public_html/bbs/includes/page_header.php on line 27

把所謂的&#12345;(簡)messagebox 寫:會失敗的原因是~~依夢兒 寫:對,因為網站上所有的中文字原本就是繁體中文,所以自然沒有「簡體不能轉繁體」的問題,因為它原本就是繁體。u87104041d 寫:上上樓所說的應該是直接複製簡體字貼上
而無法轉碼吧
但是如果我是來自對岸的網友,我打的是簡體中文,台灣的網友可能看不懂,
這個時候可能會有人想要去按 [繁] ,將簡體中文轉成繁體中文。
不過剛剛測試的結果是失敗的....
你在編碼BIG5的網頁裡輸入GB2312的文字~
當送給SERVER時~瀏覽器會將非BIG5的字編碼成UTF-16
就是所謂的&#12345;這樣的字串\r
真正的簡體字必須在GB2312的編碼網頁裡輸入簡體字~
不過很可惜~~這點確定不行
大致說一下這個函式的運作~~
他只是將PHP的標準輸出\r
轉成GB2312或是不轉--
所以當按下BIG5時~~~
其實就等於正常的討論區~並不會做轉碼的動作~~~
也因為~~~
樓上連結的程式並不能自動判斷原文是否為BIG5或是GB2312~
所以只能這樣~~~