Hello,
I installed Zen Photo 1.2.5. to rental server I use.
The server is not supported PHP get text() and PHP locale (). So language translation is not worked and if I use Japanese words to title, it doesn't show properly.
Please be advised that how to show Japanese words properly without using PHP gettext and locale.
You can check it at
http://www.e-okabe.jp/zenphoto/The name of foloder and titles are not shown properly.
Thank you in advance for your advice.
Comments
Also note that if you use the upload form album names are cleared SEO wise since Japanese characters are considered "special characters" most systems do not support in file and folder names. You can try to disable the `filter-zenphoto_seo.php` plugin.
Additionally you can try uploading folders/files with Japanese via FTP directly to see if that works.
Also please try the 1.2.6 RC2 if possible so that we can fix possible bugs.
Thank you for your advise.
I disabled "filter-zenphoto_seo.php" plugin and uploaded folders/files with Japanese via FTP directly. Unfortunately, Japanese characters are not displayed properly.
Then I upgraded Zen Photo to 1.2.6 RC2, but the same thing. When I upgrade to 1.2.6 RC2, the warning message below I found. Is this the cause not displaying Japanese characters properly?
PHP mbstring package [Your internal characater set is EUC-JP]
Warning!
Setting mbstring.internal_encoding to UTF-8 in your php.ini file is recommended to insure accented and multi-byte characters function properly.
The server I use is Rental server and I can not change PHP.ini setting. Please be advised what should I try.
I asked service provider and their answer is to add below 2 lines to ".htaccess" file.
php_flag mbstring.encoding_translation off
php_value default_charset "UTF-8"
The setting of PHP is out of their support and Zen Photo is not their service. So they said they do not provide any support on this matter.
If I upload ".htaccess" added the above 2 lines to the server, I can not open "setup.php" and "Internal server error" message is appeared.
Please be advised how I add the above to ".htaccess".
Server OS: Linux 2.6.25.3
Web Server: Apache_1.3.37
My SQL: 5.0.27
PHP: 5.2.8
phpMyAdmin: 2.11.9.5
The belows are server specifications and I can not change them.
The value of default mbstring;
mbstring.detect_order = auto
mbstring.encoding_translation = On
mbstring.func_overload = 0
mbstring.http_input = auto
mbstring.http_output = pass
mbstring.internal_encoding = EUC-JP
mbstring.language = Japanese
mbstring.substitute_character = "è¨å®šå€¤ãªã—"
php.ini;
default_charset = "EUC-JP"