Hello,
using zenphoto version 1.2.4 [3716] | zenpage Version 1.1.1, zenpage_default theme, we encountered some issues which seem to deal with localization.
Chosen language for alleries is "German"
1) Clicking on Zenpage, text is German, but all German umlauts are displayed quite... broken. You know, this ü instead of ü and so on. This is only in the zenpage area of the admin panel.
2) On the other hand, the article_edit.php has an input field with the name title_en_US, but the function process_language_string_save seems to change it to something different, so any adding or updating articles/pages will send an "no title" error. We hotfixed that by exchanging a line in zenpage_admin_functions.php:
//$result['title'] = mysql_real_escape_string(process_language_string_save("title",2));
$result['title'] = sanitize($_POST['title_en_US']); /* FIX */
which is of course only quite a dirty hack ;-)
Somehow both seems to deal with localisation. In general, I haven't yet understood the concept where localisation takes place. There is only one place inside the gallery administration where I can choose a language.
Any ideas what's going wrong here?
thx, ella
Comments
thx for your reply - I really thought I have the latest stable version... ;-)
Does that mean these localization problems are fixed with the uprade?
e.
ok, I've had an upgrade, and the "title" bug has gone. Thanks!
However, the umlaut problem persists. All the utf-8 stuff of the setup is done in the php.ini, and it's quite ugly and only with zenpage, not zenphoto. What else can I do?
Thx for help,
e.
For example, the first tab in Zenphoto says "Übersicht" (Overview). This is ok in Zenphoto. When I click on one of the Zenpage tabs (News, Pages), the "Übersicht" tab is changed to "Ãœberblick". And so are all Zenphoto explanatory texts screwed up...
e.
Thanks for your patience. I btw re-updated to 1.2.5 again. Localisation files in this version are not yet completed...? ;-) (If I only slightly understood how to edit these .mo/.po stuff, I could help out, but it costs too much time... :-()
Thanks again,
best wishes,
e.
I btw re-updated to 1.2.5 again. Localisation files in this version are not yet completed...? ;-)
The German translation is always complete for an official release as I maintain it myself.
after fixing serveral locale problems on the server ( not all locales needed for http accept language were installed in the server) i still fighting with the same problem:
the site zp-core/admin.php delivers good UTF-8 pages with displaying the right german characters in the translation "Ãœberblick".
visiting the site zp-core/zp-extensions/zenpage/admin-news-articles.php only ISO-8859-1 coding with content-type charset=utf-8 is delivered and the special character are not displayed correct.
I checked this with zenphoto 1.2.8 [4881] and zenpage 1.2.7 on a new database with collation = utf8_general_ci.
All stuff with zenphoto seems right but using zenpage causes problems.
Any ideas?
mysql 5.1.37 runs the db with all tables and the char-fields with utf8_general_ci / uft8_unicode_ci. Yes the fixed description of the tabs or the labels of the action-buttons are not displayed correct. I have also problems with special chars in the message text: I create a news article with special chars inside with the wysiwyg-editor and press save. After reload the text ends with the last char before the special char. I activated the debug in functions-i18n.php but can't see obviosly errors. I reinstalled german locales on the debian ... no effects, no ideas left.