歡迎光臨, 訪客. 請先 登入註冊一個帳號.
三月 29, 2024, 08:44:32 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  開發  |  外掛程式  |  [詢問] Gallery2 目前是否只有英文呢!? « 上篇主題 下篇主題 »
頁: 1 [2]
作者 主題: [詢問] Gallery2 目前是否只有英文呢!?  (閱讀 30654 次)
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #15 於: 十月 13, 2005, 10:54:30 上午 »

發現似乎是系統沒啟動gettext這個功能。

我的環境:
平台:win 2000 IIS
php版本:4.3.3

請善用 www.php.net 的 PHP reference manual,在遇到 PHP 安裝或設定問題時,他可以幫你很多忙。

gettext 的 function manual 裡面有一段

引用
Note to Win32 Users: In order to enable this module on a Windows environment, you must copy gnu_gettext.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). Starting with PHP 4.2.3 the name changed to libintl-1.dll, this requires also iconv.dll to be copied. libintl-1.dll is not needed as of PHP 4.3.8, iconv.dll is not needed as of PHP 5.


所以你要把 PHP/Dlls 中或是  PHP/Win32 中的 libintl-1.dll 與 iconv.dll 複製到 C:\WINNT\SYSTEM32  ... 因為你的 PHP 版本是 4.3.3。這樣你才可以使用 gettext。

Mark
« 最後編輯時間: 十月 13, 2005, 10:58:11 上午 由 markwu » 已記錄

ddav
新手見習
*
文章: 5


檢視個人資料
« 回覆文章 #16 於: 十月 17, 2005, 10:21:26 下午 »


請善用 www.php.net 的 PHP reference manual,在遇到 PHP 安裝或設定問題時,他可以幫你很多忙。

gettext 的 function manual 裡面有一段

引用
Note to Win32 Users: In order to enable this module on a Windows environment, you must copy gnu_gettext.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). Starting with PHP 4.2.3 the name changed to libintl-1.dll, this requires also iconv.dll to be copied. libintl-1.dll is not needed as of PHP 4.3.8, iconv.dll is not needed as of PHP 5.


所以你要把 PHP/Dlls 中或是  PHP/Win32 中的 libintl-1.dll 與 iconv.dll 複製到 C:\WINNT\SYSTEM32  ... 因為你的 PHP 版本是 4.3.3。這樣你才可以使用 gettext。

Mark

To Mark:

我終於來回覆了!其實您當天回覆時我就收到了,試了許多天的結果,依然不行!
找了許多資料,還是沒有頭緒。因此今天回來報告:

您說的那一段,我也有看到,可是libintl-1.dll 這個檔案完全找不到, iconv.dll 是已經在C:\WINNT\SYSTEM32 下面,那說明裡還說要把 gnu_gettext.dll 也copy過去,這檔案我也沒找到。到他所給的可以下載gettext相關檔案的地方去,下載了gettext的rumtime以及toolkit,看了半天...不會用...真慘!

另外一件事情報告:因急於有中文化的Gallery,又無法解決 gettext 的問題,因此常是土法煉鋼,硬著來!直接修改 影響版面的 theme.css 結果發現後來上傳照片就會出錯!照片是傳上去了,可是無法產生縮圖,且會有錯誤訊息...砍掉重裝,試了好幾次,才發現可能就是因為我改了檔案,之後才開始出錯的。

在您的另一篇找到有關編輯器 Utf-8 (BOM) 的問題,特別設法找到了 Ultraedit 11 (我原來是用 UltraEdit 10) ,用來修改 theme.css ,後來就可以了!上傳照片沒再出錯過...神奇!

(我改 theme.css 是嫌他字真的太小,想改大一點,於是進去把 font-size = 62.5% 改成 83.3% 大概是10點字的大小。)

已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #17 於: 十月 18, 2005, 10:14:07 上午 »

Hi ddav:

Gallery 的部分,要不要直接去 gallery 的論壇反應,因為我們能幫上的忙實在不多。至於有關 Gallery Plugin 的部分,你可以等到 Gallery 安裝好後,再來看怎麼整合。

如果有問題,歡迎你在提出發問。

Mark
已記錄

laughtosky
新手見習
*
文章: 20


檢視個人資料
« 回覆文章 #18 於: 十月 21, 2005, 12:43:15 下午 »

發現似乎是系統沒啟動gettext這個功能。

我的環境:
平台:win 2000 IIS
php版本:4.3.3

請善用 www.php.net 的 PHP reference manual,在遇到 PHP 安裝或設定問題時,他可以幫你很多忙。

gettext 的 function manual 裡面有一段

引用
Note to Win32 Users: In order to enable this module on a Windows environment, you must copy gnu_gettext.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). Starting with PHP 4.2.3 the name changed to libintl-1.dll, this requires also iconv.dll to be copied. libintl-1.dll is not needed as of PHP 4.3.8, iconv.dll is not needed as of PHP 5.


所以你要把 PHP/Dlls 中或是  PHP/Win32 中的 libintl-1.dll 與 iconv.dll 複製到 C:\WINNT\SYSTEM32  ... 因為你的 PHP 版本是 4.3.3。這樣你才可以使用 gettext。

Mark

解决问题了
已記錄
頁: 1 [2]
LifeType 中文開發論壇  |  開發  |  外掛程式  |  [詢問] Gallery2 目前是否只有英文呢!? « 上篇主題 下篇主題 »
    前往: