Zen Cart Logo
Forums / Addon Language Packs / German Language Pack for ZC 1.3.9

German Language Pack for ZC 1.3.9

Views: 29,635

Results 21 to 40 of 102
27 Oct 2010, 9:38 AM
#21
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

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:

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:

27 Oct 2010, 9:42 AM
#22
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

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
27 Oct 2010, 10:13 AM
#23
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

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.

Webpage error details

Message: Expected ';'
Line: 40
Char: 64
Code: 0
URI: http://www.vintage-adventures.com/index.php?main_page=advanced_search

27 Oct 2010, 10:14 AM
#24
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

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!

27 Oct 2010, 10:22 AM
#25
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

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.....

27 Oct 2010, 10:48 AM
#26
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: German Language Pack for ZC 1.3.9

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?

27 Oct 2010, 12:04 PM
#27
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

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

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

27 Oct 2010, 12:18 PM
#28
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

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):

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

// $Id: popup_search_help.php 293 2008-05-28 21:10:40Z maleborg $
//

upload and reload the page in your browser.

27 Oct 2010, 5:11 PM
#29
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

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

27 Oct 2010, 5:26 PM
#30
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

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

27 Oct 2010, 5:46 PM
#31
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: German Language Pack for ZC 1.3.9

Frank, on that Lightbox issue, there must be other files that need edits. I created the new zen_lightbox.php file in the German directory and edited per your instructions, but that only changes hover alt text over where the Close button would be. The Prev/Next button areas are not getting plugged in and Counter isn't there, either. There must be a whole bunch of other edits that would need to be done to plug it in for German Language pack. Lightbox works, just w/o the buttons and counter ("image 1 of 2"), and I have it set to close the lightbox when a click is made anywhere on the screen, so it's functional for now. I'm not sure how inclined anyone is to compile all the code edits needed..

28 Oct 2010, 9:03 AM
#32
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: German Language Pack for ZC 1.3.9

Checked the language folder again. There is definitely only one single file, namely zen_lightbox.php, in the whole directory of the downloaded (and installed) package.

Guess this is a question to post in the Zen Lightbox thread.

28 Oct 2010, 7:10 PM
#33
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: German Language Pack for ZC 1.3.9

thanks, yeah, I did find another directory for the buttons -
/includes/templates/CUSTOM/buttons/english/zen_lightbox
I created a 'german' directory in the same place and copied directory zen_lightbox to it. GIF Buttons are in English, but that's okay for now -- with your code for changing the alt text and image 1of2 text, it's fine for now. For anyone who wants to use lightbox w/ German pack, your code for the text, and then dropping another 'german' dir for the buttons, is a pretty good temp solution, until German language gif buttons can be dropped in the new 'german' directory......

3 Nov 2010, 10:24 AM
#34
ducam25z avatar

ducam25z

New Zenner

Join Date:
Jun 2010
Posts:
8
Plugin Contributions:
0

Re: German Language Pack for ZC 1.3.9

hi Frank:
I installed the German pack and everything looks fine until i started testing it. The website is as follows"

http://www.axiscycles.com.sg/catalog/index.php?main_page=index&cPath=83

The problem is that whenever i clicked on the "ausgewahite in den warenkrob" button, the next screen comes to a stall (i.e. a totally white page is shown). I am using IE8 and when i tried this on Google Chrome, the same problem persists. Any leads on what is wrong?

Many thanks

3 Nov 2010, 11:54 AM
#35
finlander avatar

finlander

Zen Follower

Join Date:
Oct 2010
Location:
Idaho
Posts:
293
Plugin Contributions:
0

Re: German Language Pack for ZC 1.3.9

A totally white page usually means that your php code got fouled up. This can happen by merely saving a file in a text editor such as Notepad.

This happened to me using Notepad. For whatever reason, Notepad was dropping the carriage return at the end of all the lines. Even though everything looked normal, the php code was being slaughtered at the time of saving the file, because there needs to be a space or a carriage return at certain places, such as near the first php tag. I found that when I used Notepad++, I did not have this problem. (Actually, Notepad++ was doing the opposite and adding an extra line in addition to the carriage return.)

Anyway, if you have backups of the file(s) you edited, you can get back to where you started. I don't use Notepad at all anymore because of this issue.

3 Nov 2010, 12:09 PM
#36
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: German Language Pack for ZC 1.3.9

ducam25z:

hi Frank:
I installed the German pack and everything looks fine until i started testing it. The website is as follows"

http://www.axiscycles.com.sg/catalog/index.php?main_page=index&cPath=83

The problem is that whenever i clicked on the "ausgewahite in den warenkrob" button, the next screen comes to a stall (i.e. a totally white page is shown). I am using IE8 and when i tried this on Google Chrome, the same problem persists. Any leads on what is wrong?

Many thanks

Notepad is a definite No No when it comes to editing php files - in fact, it should be renamed to NO!-Pad :P

Your problem is not related to the language pack itself, but - as finlander correctly stated - it could be related to edits or to a fouled ftp upload.

3 Nov 2010, 1:48 PM
#37
ducam25z avatar

ducam25z

New Zenner

Join Date:
Jun 2010
Posts:
8
Plugin Contributions:
0

Re: German Language Pack for ZC 1.3.9

Thank you folks. No more note pads for me for now onwards. Looks like i got reload the files again.

24 Nov 2010, 12:43 AM
#38
stevanicus avatar

stevanicus

New Zenner

Join Date:
Dec 2008
Posts:
35
Plugin Contributions:
0

Re: German Language Pack for ZC 1.3.9

Typo in

includes\languages\german\modules\payment\paypal.php

line 58... forgot the S in Description

define('MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE', STORE_NAME . ' Einkauf');

should be

define('MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_TITLE', STORE_NAME . ' Einkauf');
24 Nov 2010, 3:31 AM
#39
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: German Language Pack for ZC 1.3.9

stevanicus:

Typo in

includes\languages\german\modules\payment\paypal.php

line 58... forgot the S in Description

:oops: - thanks

14 Dec 2010, 9:52 AM
#40
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: German Language Pack for ZC 1.3.9

Hi,

I installed the German Language pack into my new Zencart Webshop and I also still have squares showing where the umlaut should be. Have the changes been corrected in the Language pack or do I have to make the suggested corrections manually in PHP?

Have to admit I don't really like playing around with the core files. :unsure:

Thank you for your reply.