The updated pack v1.3.9.1 utf-8 is now available for download
The updated pack v1.3.9.1 utf-8 is now available for download
Frank, thanks for new work! Much anticipated and appreciated!
I don't remember noticing this in prior versions, because I wouldn't ordinarily take a check or money order from Germany (I live in USA), but the moneyorder.php file in /includes/languages/german/modules/payment does not contain the variable call for the STORE_NAME_ADDRESS so that the shopper knows where to mail the money order.
Compare with the English version of the file to further evaluate ...
Easy enough to add back in, but maybe you wanted this to be part of the code like it is for the English version?
Thanks mate.
Already late here but I'll check this out tomorrow.
Possibly an 'inheritance' from the original Ger Lang Pack??
Copy the moneyorder.php file from /includes/languages/english/modules/payment to /includes/languages/german/modules/payment
Then edit the copied file to read:
This will be included in the next update.Code:define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Vorkasse/Überweisung'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Bitte überweisen Sie den Betrag auf unser Konto:<br />' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br /><br />' . 'Ihre Bestellung wird versendet, sobald wir Ihre Zahlung erhalten haben.'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', 'Bitte überweisen Sie den Betrag auf unser Konto: ' . MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\n" . 'Ihre Bestellung wird versendet, sobald wir Ihre Zahlung erhalten haben.');
Frank, store address is still missing from those lines of code. This is what I have after adding back manually. I haven't done the translation yet. (The PAYTO part is only the name of the store in the paragraph above the store name and address.)
By the way, it looks as though the moneyorder.php was in the previous Pack but removed entirely from this most recent Pack..
define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Vorkasse/Überweisung');
define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Bitte Überweisen Sie den Betrag auf unser Konto:<br />' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br /><br />Mail your payment to:<br />' . nl2br(STORE_NAME_ADDRESS) . '<br /><br />' . 'Ihre Bestellung wird versendet, sobald wir den Betrag erhalten haben.');
define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', 'Bitte überweisen Sie den Betrag auf unser Konto: ' . MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nMail your payment to:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Ihre Bestellung wird versendet, sobald wir den Betrag erhalten haben.');
Got me baffled.....
Anyway, here is the full code and translation:
I am going to look into this as soon as I am getting my head around our current flood situation in QueenslandCode:define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Vorkasse/Überweisung'); define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Bitte überweisen Sie den Betrag auf unser Konto:<br />' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br /><br />' . 'Ihre Bestellung wird versendet, sobald wir den Betrag erhalten haben.'); define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', 'Bitte überweisen Sie den Betrag auf unser Konto: ' . MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nSchicken Sie Ihre Zahlung an:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Ihre Bestellung wird versendet, sobald wir den Betrag erhalten haben.');- thankfully we are high up in a hilly country area with not much chance of being swept away....
Last edited by frank18; 11 Jan 2011 at 12:22 PM.
glad you are not in flood danger!
STORE_NAME_ADDRESS should also appear in the TEXT_DESCRIPTION line, along w/ "Schicken Sie Ihre Zahlung an:" as in post above, 'cept post doesn't have that part translated.
updated and revised file includes/languages/modules/payment/moneyorder.php attached in zip-file
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?
Bookmarks