Deceased
- Join Date:
- Nov 2007
- Location:
- Sunny Coast, Australia
- Posts:
- 3,427
- Plugin Contributions:
- 2
German Language Pack for ZC 1.3.9
Please also have a look at this post:
http://www.zen-cart.com/forum/showpost.php?p=812342&postcount=115
Views: 29,635
Deceased
Please also have a look at this post:
http://www.zen-cart.com/forum/showpost.php?p=812342&postcount=115
Deceased
shortysclimbin:
Thanks Frank! Glad to hear you are safe.
When you get a chance I am running into issues of the language pack not recognizing my custom CSS buttons placed in "/includes/templates/custom/buttons/german/" it is still using the old text written in. Any suggestions?
Thanks for the link (nice site btw)
I have started this thread to support utf-8 only.
I am guessing that your language pack contains a mix between utf-8 and iso-8859-1 characters.
To fix the display of your characters you need to decide between the 2 forms of encoding. The latest pack is version 1.3.9.1 Utf-8
Please check your includes/languages/german.php and admin/includes/languages/german.php files for
// charset for web pages and emails
define('CHARSET', 'utf-8');
If this reads iso-8859-1 then change it to utf-8.
Next you will need to merge your install files with the files contained in the latest language pack.
Then you need to make sure that any customised translations contain the characters as per the Umlaute.txt file contained in the latest language pack.
The latter part of the /includes/languages/german/button_names.php file should read:
/*
* ALT tags used for buttons
*/
define('BUTTON_CREATE_ACCOUNT_ALT', 'Neues Konto erstellen');
define('BUTTON_LOG_OFF_ALT', 'Abmelden');
define('BUTTON_ADD_TO_CART_ALT', 'In meinen Warenkorb');
define('BUTTON_ADD_ADDRESS_ALT', 'Adresse hinzufügen');
define('BUTTON_ADD_PRODUCTS_TO_CART_ALT', 'Ausgewählte Artikel in den Warenkorb');
define('BUTTON_BACK_ALT', 'Zurück');
define('BUTTON_BUY_NOW_ALT', 'Jetzt kaufen');
define('BUTTON_CANCEL_ALT', 'Abbrechen');
define('BUTTON_CHANGE_ADDRESS_ALT', 'Adresse ändern');
define('BUTTON_CHECKOUT_ALT', 'Zur Kasse');
define('BUTTON_CONFIRM_SEND_ALT', 'Gutschein senden');
define('BUTTON_CONFIRM_ORDER_ALT', 'Bestellung bestätigen');
define('BUTTON_CONTINUE_ALT', 'Weiter');
define('BUTTON_CONTINUE_SHOPPING_ALT', 'Weiter einkaufen');
define('BUTTON_DELETE_ALT', 'Löschen');
define('BUTTON_DELETE_SMALL_ALT', 'Löschen');
define('BUTTON_DOWNLOAD_ALT', 'Download');
define('BUTTON_EDIT_SMALL_ALT', 'Bearbeiten');
define('BUTTON_IN_CART_ALT', 'In den Warenkorb ');
define('BUTTON_LOGIN_ALT', 'Anmelden');
define('BUTTON_NEXT_ALT', 'Nächster');
define('BUTTON_PREVIOUS_ALT', 'Vorheriger');
define('BUTTON_REDEEM_ALT', 'Einlösen');
define('BUTTON_RETURN_TO_PROD_LIST_ALT', 'Zurück zur Artikelliste');
define('BUTTON_REVIEWS_ALT', 'Zu den Bewertungen');
define('BUTTON_SEARCH_ALT', 'Suche');
define('BUTTON_SEND_ALT', 'Jetzt senden');
define('BUTTON_SEND_ANOTHER_ALT', 'Einen weiteren Gutschein versenden');
define('BUTTON_SEND_A_GIFT_CERT_ALT', 'Einen Gutschein senden');
define('BUTTON_SHIPPING_ESTIMATOR_ALT', 'Voraussichtliche Versandkosten');
define('BUTTON_SOLD_OUT_ALT', 'Ausverkauft');
define('BUTTON_SOLD_OUT_SMALL_ALT', 'Ausverkauft');
define('BUTTON_SUBMIT_ALT', 'Information senden');
define('BUTTON_TELL_A_FRIEND_ALT', 'An einen Freund senden');
define('BUTTON_TELLAFRIEND_ALT', 'An einen Freund senden');
define('BUTTON_UNSUBSCRIBE', 'Abbestellen');
define('BUTTON_UPDATE_ALT', 'Aktualisieren');
define('BUTTON_VIEW_SMALL_ALT', 'Anzeigen');
define('BUTTON_WRITE_REVIEW_ALT', 'Bewertung schreiben');
define('BUTTON_READ_REVIEWS_ALT', 'Bewertung lesen');
define('BUTTON_GOTO_PROD_DETAILS_ALT', 'Lesen Sie die detailierte Produktbeschreibung');
define('BUTTON_MORE_REVIEWS_ALT', 'Lesen Sie weitere Bewertungen');
?>
That should fix the issue with your css buttons.
New Zenner
Thanks Frank,
The site is a work in progress! Not bad for my first, but still a lot to go to get it 100%.
I think I miss represented what I am having issues with. I am getting language based buttons in checkout when I would like to use custom Picture based buttons. For instance if you look at the english checkout vs. the german checkout it actually uses the CSS text. I want it to use my buttons because of size constraints.
How it should look

How it looks

I am under the assumption somewhere I need to indicate to use the picture files and not the Css designed directions?
Deceased
If you copy that image (I think it is button_update_cart.gif - not sure) from includes/templates/YOUR_TEMPLATE/buttons/english to includes/templates/YOUR_TEMPLATE/buttons/german then you should be OK
New Zenner
Yeah thats what I thought too... I did that for all language packs installed, but only a few of them actually updated. Hence my questions, its annoying me because it sets off the site. Little details always get in the way.
New Zenner
I have seen lot of bugs in almost of the german version.
There are no close tags (?>)in so many codes.
This brings about so many white spaces.
I have translated the English version to German again.
No bugs and nothing...
Anyone who needs it should let me know and l will upload it here..
The spanish also have the same problem...
Cheers...
Deceased
christalix:
I have seen lot of bugs in almost of the german version.
There are no close tags (?>)in so many codes.
This brings about so many white spaces.
Before you go any further you may be well advised to read the numerous discussions about the closing ?> being intentionally omitted in 1.3.9 versions (english original and other language copies). DrByte has explained this repeatedly in detail. I suggest you search the forums accordingly
I have translated the English version to German again.
No bugs and nothing...
No need to re-invent the wheel. This version of the German language pack is an exact clone of the official standard 1.3.9h version - the only differences being the renaming of the english folders to german and the translation of the language defines.
Anyone who needs it should let me know and l will upload it here..
You may want to add a disclaimer to that version pointing out that it may not conform to the standards of the official english version of ZC 1.3.9h
The spanish also have the same problem...
yes, for exactly the same reason: it is a clone of the official standard 1.3.9h version which has been working fine as designed by the devs ...
Deceased
christalix:
I have seen lot of bugs in almost of the german version.
There are no close tags (?>)in so many codes.
This brings about so many white spaces...
To save you some searching have a look at **this post from DrByte**
New Zenner
Hi Frank thanks for the reply.
Sure, l have read the link you provided
http://www.zen-cart.com/forum/showpost.php?p=879767&postcount=2
and this is opposite to what l get.
When l click on a product in German version and tries to actualise it (warenkorb aktualisiueren) by increasing the product, l only get a white scrren.
when l use my mouse to go back, then the product will be increased as l wanted.
the problem is to get this white window away..
What l did was to use the English folder, and rename them as German and use your German translation to replace them.. Its a tough job , but this is the only way l have come across...
If you have any solutions , l will be much greatful.. .9
best Regards)
Zen Follower
White screen is almost always busted php. I've installed the German pack about half dozen times, and never had any problems at all with the German pages or with the German shopping cart or with the German checkout. Then again, I followed the install instructions precisely and did not do any type of switching with English and German directories as you have described. I would not know where to look first to try to help you solve your problem, other than saying a clean install of the German pack following the install instructions might be a good starting place .. and not using any modified php files that are not part of the Pack or not part of the instructions.
Frank? What say you?
New Zenner
Hi Fin, thanks for the guick answer:).. I installed the German version 3 times, later delete all my database, install the complete Zen again, downloaded the German version, loaded the admin includes - to my admin includes / and includes --- to includes directory.
But then when l click on product actualising, l will just be sent to this white screen...
None worked...
so, l decided to duplicate the English version and named it German...
then started to open all the German codes one after the other to replace the English translations... and testing it over and over again..
Then things statred looking better till l became tired and decided to replace the files now...
But then came the problem again..
So, l have decided now to do it from code to code .. And this has solved my headache:)
New Zenner
And also to the guys having problem with the German buttons not taking your template buttons.
Please replace the includes/german/buttons with the includes/english/buttons .. and this will solve the problem:)
Happy to help:)
New Zenner
shortysclimbin:
Thanks Frank,
The site is a work in progress! Not bad for my first, but still a lot to go to get it 100%.
I think I miss represented what I am having issues with. I am getting language based buttons in checkout when I would like to use custom Picture based buttons. For instance if you look at the english checkout vs. the german checkout it actually uses the CSS text. I want it to use my buttons because of size constraints.
How it should look
How it looks
I am under the assumption somewhere I need to indicate to use the picture files and not the Css designed directions?
Bro, just copy the includes/english/buttons.php to the includes/german/buttons.php and this will solve it... This is what l did...
and as one said,. you need also to copy the buttons folder where your images are to the german buttom folder too:)
Happy to help:)
Deceased
finlander:
White screen is almost always busted php. I've installed the German pack about half dozen times, and never had any problems at all with the German pages or with the German shopping cart or with the German checkout. Then again, I followed the install instructions precisely and did not do any type of switching with English and German directories as you have described. I would not know where to look first to try to help you solve your problem, other than saying a clean install of the German pack following the install instructions might be a good starting place .. and not using any modified php files that are not part of the Pack or not part of the instructions.
Frank? What say you?
Fully agree finlander. I have 3 installs using the latest pack, one live and 2 on my development servers. All 3 are working just fine :smile:
Deceased
christalix:
And also to the guys having problem with the German buttons not taking your template buttons.
Please replace the includes/german/buttons with the includes/english/buttons .. and this will solve the problem:)Happy to help:)
This was actually not a bug but a matter of replacing one button with another (the symbol)...
Deceased
christalix:
......Then things statred looking better till l became tired and decided to replace the files now...
But then came the problem again..
Clear indication that you have a problem which is not related to language files alone ....
So, l have decided now to do it from code to code .. And this has solved my headache:)
You are going about your problem back to front. To iron out bugs you compare a fresh install file set to your own install ....
New Zenner
Typo in german language file
around line 365
define('TEXT_INVALID_FINISDATE_COUPON', 'Dieser Aktionskupon ist abgelaufen');
should be
define('TEXT_INVALID_FINISHDATE_COUPON', 'Dieser Aktionskupon ist abgelaufen');
New Zenner
frank18:
This was actually not a bug but a matter of replacing one button with another (the symbol)... No, only replacing the button did not work for me. Have to replace the button.php aslo----Well maybe l have a problem either with my downloads or server or FTP... :)
Deceased
stevanicus:
Typo in german language file
around line 365
define('TEXT_INVALID_FINISDATE_COUPON', 'Dieser Aktionskupon ist abgelaufen');
>
> should be
> ```php
define('TEXT_INVALID_FINISHDATE_COUPON', 'Dieser Aktionskupon ist abgelaufen');
fixed in next update - thanks
Deceased
Version 1.4 is available for **download**.
This pack now provides the choice of either utf-8 or iso-8859-1 encoding.
Also fixed a few minor spelling errors/bugs reported previously.
Enjoy
Tell staff why this post should be reviewed.