我使用 Fantastico 安裝 gallery, 再嘗試加上 zh-TW.utf8 的 locale 之後, gallery 的診斷程式顯示出挸:Testing to see which system locales (if any) are absent.These locales are required to use multilanguage capabilities of Gallery when your PHP has gettext support. They are also needed to show date and time in the according format to the language.

Serious Warning!

We were unable to detect any system locales. Multi-language functions will be disabled. Please install the corresponding locales or ask your administrator to do this. This problem is known on Debian systems. In this case please have a look at this Debian locale HowTo (http://people.debian.org/~schultmc/locales.html,<連結已死>).懇請協助!!

If that is not right (or if it is blank), re-run the configuration wizard and enter a location for ImageMagick.Note: Your ImageMagick directory (/usr/bin) is not in your open_basedir list

/home/aa45123:/usr/lib/php:/usr/local/lib/php:/tmp

The open_basedir list is specified in php.ini.The result is, that we can't perform all of our basic checks on the files to make sure that they exist and they're executable.---------------------------------------------------------------------------------------------------------------------------------------------是否意指除了指定 ImageMagick 的路徑 (/usr/bin/)之外,必需在php.ini 設定 path ??

Gallery Configuration Wizard顯示如下:---------------------------------------------------------------------------------------------------------------------------Testing to see which system locales (if any) are absent.These locales are required to use multilanguage capabilities of Gallery when your PHP has gettext support. They are also needed to show date and time in the according format to the language.

Serious Warning!

We were unable to detect any system locales. Multi-language functions will be disabled. Please install the corresponding locales or ask your administrator to do this. This problem is known on Debian systems. In this case please have a look at this Debian locale HowTo.(http://people.debian.org/~schultmc/locales.html)----------------------------------------------------------------------------------------------------------------------------其中, Debian locale How to的連結又通了!!

1. Edit /etc/locale.gen as root. If /etc/locale.gen does not exist, create it. An example /etc/locale.gen is below. 2. Run /usr/sbin/locale-gen as root

A sample /etc/locale.gen

# This file lists locales that you wish to have built. You can find a list# of valid supported locales at /usr/share/i18n/SUPPORTED. Other# combinations are possible, but may not be well tested. If you change# this file, you need to rerun locale-gen.## XXX GENERATED XXX## NOTE!!! If you change this file by hand, and want to continue# maintaining manually, remove the above line. Otherwise, use the command# "dpkg-reconfigure locales" to manipulate this file. You can manually# change this file without affecting the use of debconf, however, since it# does read in your changes.