Problem switching language in admin panel ? - alexsvar - 2009-08-12
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?
Problem switching language in admin panel ? - acrylian - 2009-08-12
Actually that should switch the languages. Anyway, you should upgrade to the recent 1.2.6 release.
Problem switching language in admin panel ? - alexsvar - 2009-08-12
Ugrade to version 1.2.6...
Switch language: Gallery displays a new language, but in the admin panel only English
Problem switching language in admin panel ? - acrylian - 2009-08-12
Please read: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#24
Problem switching language in admin panel ? - alexsvar - 2009-08-12
Yes, I read it yesterday.
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?
Problem switching language in admin panel ? - acrylian - 2009-08-12
Well, some themes feature a language selector if the plugin is enabled. That is independend from the backend that has its own selector.
Problem switching language in admin panel ? - alexsvar - 2009-08-12
I'm using the default theme.
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
Problem switching language in admin panel ? - acrylian - 2009-08-12
Have you tried the locale check script from the troubleshooting post? What did it say? The languages have nothing to do with mysql in this case. Have you tried checking the option for using sessions instead of cookies?
Problem switching language in admin panel ? - sbillard - 2009-08-12
There are only a few sources of language not working.
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
Problem switching language in admin panel ? - alexsvar - 2009-08-12
to [b]acrylian[/b]
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 [b]sbillard[/b]
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.
Problem switching language in admin panel ? - sbillard - 2009-08-12
The bit you do not understand tells you that your browser prevers (in prioirty order) Russian, US English, then any English. We do not have a Russian translation of Zenphoto, so the only language to be selected by HTTP Accept Languages is English. Likewise, if you have downloaded the Russian translation from the TRAC you need to understand that it is completely out of date, so very little of Zenphoto will be translated.
Perhaps you would be willing to make the Russian translation? If so, please see http://www.zenphoto.org/support/topic.php?id=3184
Problem switching language in admin panel ? - alexsvar - 2009-08-13
Russian translation Zenphoto performed at 53% for the version 1.2.1 (works in version 1.2.2).
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"?
Problem switching language in admin panel ? - acrylian - 2009-08-13
Well, the problem seems to be on your server with the supported locale. Not sure if we can help with that at all. I am not a server expert. You think you will need to talk with your provider again about that.
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.
Problem switching language in admin panel ? - alexsvar - 2009-08-13
Thank you for the definition of the causes of errors.
I took time out to improve support for locale.
When the results - write here.
Problem switching language in admin panel ? - alexsvar - 2009-08-30
After a short delay - write about resolving the problem:
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!
|