Re: German Language Pack for ZC 1.3.9
The following refers to zen_lightbox-v1.5-20081218
Copy includes/languages/english/extra_definitions/YOUR_TEMPLATE/zen_lightbox.php
to
includes/languages/german/extra_definitions/YOUR_TEMPLATE/zen_lightbox.php
Open the copied file and edit these defines to read:
Quote:
define('ZEN_LIGHTBOX_ALT_PREVIOUS', 'zurück');
define('ZEN_LIGHTBOX_ALT_NEXT', 'voraus');
define('ZEN_LIGHTBOX_ALT_CLOSE', 'Schliessen');
define('ZEN_LIGHTBOX_COUNTER_IMAGE', 'Bild');
define('ZEN_LIGHTBOX_COUNTER_OF', 'von');
That should fix the lightbox :cool:
Re: German Language Pack for ZC 1.3.9
For any other mods containing language defines simply follow the steps in my previous post:
1. locate affected language files
2. copy to corresponding German location
3. open file(s) and edit the language defines
4. save, upload and done
Re: German Language Pack for ZC 1.3.9
you bet, frank18, thanks,
say, this may be a tiny bug or could be specific to my site, but I'm getting a navigation bar error about an expected semi-colon in the code that might be missing. All of my other German update work has gone really well -- I just happened to see this when I went to the Advanced Search page. Here is the message IE8 gave me, and my page.
Re: German Language Pack for ZC 1.3.9
Thanks a bunch of that Lightbox fix! I was just going to turn on "exit lightbox on any click" settings, but this is much better!
Re: German Language Pack for ZC 1.3.9
re: browser code report error. looks as though it's related to the little Help pop-up on the Advanced Search page -- it's busted for me using IE8, so that must be the cause of the browser error report.....
Re: German Language Pack for ZC 1.3.9
Quote:
Originally Posted by
finlander
re: browser code report error. looks as though it's related to the little Help pop-up on the Advanced Search page -- it's busted for me using IE8, so that must be the cause of the browser error report.....
does that also happen in Firefox or Chrome?
Re: German Language Pack for ZC 1.3.9
I don't know 'cause I don't have those browsers. I'm just a hack.
I narrow something down, though. If you go to Developer's Toolkit and do a search of the phps for SEARCH_HELP, I got a result of this file with a string broken 'cause of the break tags. I snugged them all together but no luck.
/includes/languages/german/popup_search_help.php
Quote:
Line #19 : // $Id: popup_search_help.php 293 2008-05-28 21:10:40Z maleborg $
Line #22 : define('HEADING_SEARCH_HELP','Hilfe zur Suche');
Line #23 : define('TEXT_SEARCH_HELP','<p>Unser Shop bietet als weiteren Service auch eine leistungsstarke Suchmaschine:<br /><br /> Es gibt die Möglichkeit mehrerer Variationen: <br /><br /> <strong>Die Standardsuche:</strong><br /> Sie geben als Suchbegriff <strong>Zen Cart</strong> ein und erhalten als Ergebnis Begriffe mit entweder <strong>Zen</strong>, <strong>Cart</strong> oder <strong>Zen Cart</strong>.<br /><br /> <strong>Die "UND" Suche:</strong> <br /> Sie geben als Suchbegriff <strong>Zen AND Cart</strong> ein - Sie erhalten nur Ergebnisse, deren Begriffe nur <strong>Zen Card</strong> - <u>also nur beide Wörter</u> - beinhalten.<br /><br /> <strong>Die "ODER" Suche:</strong><br /> Sie geben als Suchbegriff <strong>Zen OR Cart</strong> ein - das Ergebnis werden Begriffe mit <strong>nur Zen</strong> oder <strong>nur Cart</strong> sein. <br /><br /> <strong>Die exakte Suche:</strong><br /> Sie geben als Suchbegriff <strong>"Zen Cart"</strong> ein - das Ergebnis werden Begriffe <u>mit exakt dieser Schreibweise</u> sein: <strong>Zen Cart (nicht zen cart) </strong><br /><br /> Es sind natürlich auch Kombinationen möglich (Zen OR Cart OR "zen cart")</p>');
Above is what I did to snug up the break tags and get the semi-colon to be recognized. When I searched again with DT, the string came back okay. But it still didn't fix our page. Maybe the problem is in this file:
includes/templates/template_default/templates/tpl_advanced_search_default.php
Re: German Language Pack for ZC 1.3.9
The original language file
/includes/languages/german/popup_search_help.php
should look like this (header not included):
Code:
define('HEADING_SEARCH_HELP','Hilfe zur Suche');
define('TEXT_SEARCH_HELP','
<p>Unser Shop bietet als weiteren Service auch eine leistungsstarke Suchmaschine:<br />
<br />
Es gibt die Möglichkeit mehrerer Variationen: <br />
<br />
<strong>Die Standardsuche:</strong><br />
Sie geben als Suchbegriff <strong>Zen Cart</strong> ein und erhalten als Ergebnis Begriffe mit entweder <strong>Zen</strong>, <strong>Cart</strong> oder <strong>Zen Cart</strong>.<br />
<br />
<strong>Die "UND" Suche:</strong> <br />
Sie geben als Suchbegriff <strong>Zen AND Cart</strong> ein - Sie erhalten nur Ergebnisse, deren Begriffe nur <strong>Zen Card</strong> - <u>also nur beide Wörter</u> - beinhalten.<br />
<br />
<strong>Die "ODER" Suche:</strong><br />
Sie geben als Suchbegriff <strong>Zen OR Cart</strong> ein - das Ergebnis werden Begriffe mit <strong>nur Zen</strong> oder <strong>nur Cart</strong> sein. <br />
<br />
<strong>Die exakte Suche:</strong><br />
Sie geben als Suchbegriff <strong>"Zen Cart"</strong> ein - das Ergebnis werden Begriffe <u>mit exakt dieser Schreibweise</u> sein: <strong>Zen Cart (nicht zen cart) </strong><br />
<br />
Es sind natürlich auch Kombinationen möglich (Zen OR Cart OR "zen cart")</p>');
define('TEXT_CLOSE_WINDOW','<u>Fenster schließen</u> [x]');
?>
Suggest to copy and paste the content of this code into the file after
Quote:
// $Id: popup_search_help.php 293 2008-05-28 21:10:40Z maleborg $
//
upload and reload the page in your browser.
Re: German Language Pack for ZC 1.3.9
Frank,
I restored the define 'Text Search Help' to stock version with line breaks on different lines and all. No luck. IE8 still has a problem with it. I tried it with Firefox, also, and FF can't pop the popup, either.
Think it could be a problem with the javascript handling popups in the German pack?
Jim
Re: German Language Pack for ZC 1.3.9
darnedest thing, the files seem to be perfect. If I use Dev Toolkit to search on TEXT_SEARCH_HELP_LINK, I get six perfect results of location/strings, and the strings from the six files seem perfect:
english
english
german
german
custom template
default template
gotta be a java prob? You know, the prior Lightbox install did alter some java files to enable Lightbox instead of popup. Funny if that's the prob, though, as English Search help is working fine..
One more guess. I've got a jscript_main file in this path. Think it's involved with the prob?
includes\modules\CUSTOM\pages\popup_image