Hi!
Installed zenphoto version 1.2.3 [3427]
Switch languages in the "Admin - Options - Gallery configuration - Language" to any other (Italian, French). In the gallery language switches and displays fine, but the admin panel is ONLY in English.
When installing -
PHP gettext () support - OK
PHP mbstring package - OK
How can I see other (non-English language) in admin panel?
Comments
Switch language: Gallery displays a new language, but in the admin panel only English
I do not have bugs, gettext() - enabled, switch the language in the gallery.
All excellent.
Not only switches the language in the admin panel.
What is the difference of language to display the gallery and admin panel?
Non-English language does not appear even when you run setup.php
This is not a problem of mysql?
Incorrect setting of the site?
Same problem was there
http://www.zenphoto.org/support/topic.php?id=4783#post-28129
gettext() support is missing as reported by setup
locale functionality does not work on your server. I believe this is also reported by setup.
You have used HTTP Select language set and your browser is reporting the wrong language preference
The locale check script shows the data, meaning that I do not understand:
-------------------------------
Http Accept Languages:
Key code coef morecode fullcode
1.0-ru ru 1.0 ru
0.7-en en 0.7 us en_us
0.3-en en 0.3 en
Supported locales:
-------------------------------
Switches use sessions or cookies - the same result.
to sbillard
function gettext() is supported by my server :
-----------------------------
Systems Check:
PHP version 4.4.8 - Warning! Version 5.2 or greater is strongly recommended.
PHP Safe Mode [is set] - Warning! Zenphoto functionality is reduced when PHP safe mode restrictions are in effect.
PHP magic_quotes_gpc
Graphics support: PHP GD library bundled (2.0.28 compatible)
PHP gettext() support
PHP mbstring package
PHP MySQL support
--------------------------
During installation, it was a warning.
--------------------------
PHP mbstring package Your internal characater set is ISO-8859-1
Warning!
--------------------------
It is fixed on the recommendation
--------------------------
Setting mbstring.internal_encoding to UTF-8 in your php.ini file is
recommended to insure accented and multi-byte characters function properly.
--------------------------
Now set "HTTP Accept Language". No errors and changes.
Сheck in FireFox and MSIE.
On another server without the support of gettext () and utf-8 in mysql. Everything is working almost perfectly in versions 1.2.1, 1.2.2, 1.2.3
See http://www.aroundspb.ru/tmp/zen.jpg
While I can not understand the difference in the settings of these two servers.
Perhaps you would be willing to make the Russian translation? If so, please see http://www.zenphoto.org/support/topic.php?id=3184
Link to the page author's translation: http://www.1nc.ru/blog/2008/11/russkiy-perevod-zenphoto-121-53/
I want to work with version 1.2.3. In this version there is no excess additions (for me), and it fits well with the capabilities of my hosting.
I checked the script "list_locales" for the site, where everything works fine.
Answer:
------------------------------
Http Accept Languages:
Key code coef morecode fullcode
1.0-ru ru 1.0 ru
0.7-en en 0.7 us en_us
0.3-en en 0.3 en
Supported locales:
C
POSIX
af_ZA.ISO8859-1 af_ZA.ISO8859-15 af_ZA.UTF-8
am_ET.UTF-8
...
ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5 ru_RU.KOI8-R ru_RU.UTF-8
...
zh_CN.GB18030 zh_CN.GB2312 zh_CN.GBK zh_CN.UTF-8 zh_CN.eucCN zh_HK.Big5HKSCS zh_HK.UTF-8 zh_TW.Big5 zh_TW.UTF-8
---------------------------------
I understand that the problem of my bugs to another site because of the lack of "Supported locales: ru_RU.UTF-8"?
Please also note that we actually can't actively support older versions anymore due to lacking resources (we are a very small team). Please consider to install the current release. A lot of things change with each version.
I took time out to improve support for locale.
When the results - write here.
My hosting made additional settings on the server, and the script list_locales.php now gives the correct parameters:
...
ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5 ru_RU.KOI8-R ru_RU.UTF-8
...
And now the localization in Russian began to work normally and in the gallery and in the admin panel (localized 53% of the sentences, but this is enough to understand the main features of the interface)
Thank you!