Forums / Addon Language Packs / Error in Translation to Dutch

Error in Translation to Dutch

Locked

Started by angelo1969 on 20 Jul 2008, 7:37 AM · Views: 2,117

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
20 Jul 2008, 7:37 AM
#1
angelo1969 avatar

angelo1969

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Error in Translation to Dutch

I've installed the Dutch language package. Works fine. But if I look at the orders overview, in the Admin, I still can see the English text e.g. "storepickup" and "moneyorder", etcetera (I've included a printscreen in the message).

Where can I change these words? Any idear? :no:

==================================================
Ik heb het Nederlands pakket geïnstalleerd. Alles in orde. Maar als ik in de Admin kijk naar het overzicht van de bestellingen zie ik nog steeds de teksten "storepickup" en "moneyorder", etc (zie ook mijn bijgevoegde schermafdruk).

Waar kan ik die woorden wijzigen? Enig idee? :cry:

==================================================
Bedankt/Thanks,

Angelo

20 Jul 2008, 9:18 AM
#2
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: Error in Translation to Dutch

You'll need to locate the page:

/catalog/includes/language/dutch/page_name.php

Admin: /catalog/admin/includes/language/dutch/page_name.php

I like using CSS Buttons for multiple languages, and faster speed.

Let us know how this works for you.

Cheers!
v2.2.1

20 Jul 2008, 9:39 AM
#3
angelo1969 avatar

angelo1969

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Re: Error in Translation to Dutch

I'm sorry. I've searched al (sub)directories and this file ('page_name.php') is not located in my Zen-Cart...

Regards,

Angelo

20 Jul 2008, 9:56 AM
#4
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

Re: Error in Translation to Dutch

:blush: I meant page_name is a generic way to say that you need to fill in the blank.

/catalog/includes/language/dutch/modules/shipping/storepickup.php

define('MODULE_SHIPPING_STOREPICKUP_TEXT_TITLE', 'Store Pickup');

Replace with:

define('MODULE_SHIPPING_STOREPICKUP_TEXT_TITLE', 'De Bestelwagen van de opslag');

Try using the Admin Panel - Tools - Developers Tool Kit to find things.

Cheers!
v2.2.1

20 Jul 2008, 10:17 AM
#5
angelo1969 avatar

angelo1969

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Re: Error in Translation to Dutch

Well, sure, this directory exists and yes those files are all available and yes inside alle these files are correct translations to Dutch. My entire Zen-Cart is Dutch, but only in de Admin --> Orders Overview I cannot change the English words into Dutch.

I personally thing that the appropriate php/html-file (Order Overview) reads a variable-name and not the variable-value. But I do not have enough PHP experience to track this down...

20 Jul 2008, 10:30 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Error in Translation to Dutch

That text is the actual "module name", and is not changeable, unless you wanted to write custom code in your /admin/orders.php to take that module name and give it something else to say.

The "module name" is stored in the database, and corresponds to the "$this->code" value inside the shipping and payment modules used for the order you're reviewing.

Thus, if you want to change it, you'll need to change a significant amount of infrastructure.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jul 2008, 10:41 AM
#7
angelo1969 avatar

angelo1969

New Zenner

Join Date:
Jul 2008
Posts:
8
Plugin Contributions:
0

Re: Error in Translation to Dutch

Aha, this is what i thought. OK, I won't change it. But I think a good programmer can change it in a new update of Zen-Cart?

I do hope so...

Thanks very much for your support!
Best regards,

Angelo