Forums / Addon Language Packs / CKD-Zen-Cart Japanese Pack

CKD-Zen-Cart Japanese Pack

Views: 22,549

Results 21 to 40 of 56
24 May 2008, 4:09 AM
#21
crystalkoi avatar

crystalkoi

Zen Follower

Join Date:
Apr 2007
Posts:
181
Plugin Contributions:
0

CKD-Zen-Cart Japanese Pack

Hi Everyone,

I am sorry to report that I found an error. I messed up the encoding on the includes/classes/order.php file.

To fix this you can download the pack again, and upload that file or edit that file yourself

Manual fix, you need to open that file, change the encoding to UTF-8.

Then go to line 922 and
Make sure this line reads as

$this->customer['lastname'] . ' ' . $this->customer['firstname'] . '様' . "\n\n" .

Because of the wrong encoding, the 様 got all messed up.

Sorry for this,

CKD

25 Jun 2008, 8:04 PM
#22
ssp711 avatar

ssp711

New Zenner

Join Date:
Aug 2006
Posts:
11
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

CrystalKoi:

Hi Everyone,

I am sorry to report that I found an error. I messed up the encoding on the includes/classes/order.php file.

To fix this you can download the pack again, and upload that file or edit that file yourself

Manual fix, you need to open that file, change the encoding to UTF-8.

Then go to line 922 and
Make sure this line reads as

$this->customer['lastname'] . ' ' . $this->customer['firstname'] . '様' . "\n\n" .

> 
> Sorry for this,
> 
> CKD



thanks CKD, 
you don't need to say sorry about.

i read through all your site and how to.

and tested in a sample store, its work great.

i think most of the Japaneses afraid to shopping at a english site.

as i am Chinese, i also mess up the "first name", "last name" at the beginning.

your script help many store owners.
1 Jul 2008, 5:59 AM
#23
mamjap avatar

mamjap

New Zenner

Join Date:
Jun 2008
Posts:
3
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

Hi,

Firstly, thanks for the Japanese pack. I have it running on a client's site in English/Japanese.

Couple of minor issues:

  1. In the navmainwrapper, the English page displays 'Home' and 'Log In' fine. However the Japanese page displays this:
    z [ and O C Instead of the Japanese characters.

  2. It does the same thing in the Google Adsense box, top left sidebar. So I just removed the characters for that particular section.

Due to Privacy issues I have PM the URL to you.

Your assistance would be appreciated.

Thanks.

1 Jul 2008, 6:10 AM
#24
mamjap avatar

mamjap

New Zenner

Join Date:
Jun 2008
Posts:
3
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

mamjap:

Hi,

Firstly, thanks for the Japanese pack. I have it running on a client's site in English/Japanese.

Couple of minor issues:

  1. In the navmainwrapper, the English page displays 'Home' and 'Log In' fine. However the Japanese page displays this:
    z [ and O C Instead of the Japanese characters.

  2. It does the same thing in the Google Adsense box, top left sidebar. So I just removed the characters for that particular section.

Due to Privacy issues I have PM the URL to you.

Your assistance would be appreciated.

Thanks.

UPDATE.

Also not displaying Japanese characters in navBreadCrumb.

Cheers

2 Jul 2008, 2:06 PM
#25
mamjap avatar

mamjap

New Zenner

Join Date:
Jun 2008
Posts:
3
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

CrystalKoi

Thanks very much for your help and tips.

I really appreciate it and it seems to be working fine now.

Cheers

10 Jul 2008, 7:13 AM
#26
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
403
Plugin Contributions:
6

Re: CKD-Zen-Cart Japanese Pack

CrystalKoi

Thanks very much for this pack!
It is the only one which really works when you need different languages. UTF8 is the way to go.
Main trouble I had was because of files that were not properly UTF-8 encoded like withe 様 in your pack.
In fact my trouble were more with shipping and payment modules.:wink:

Did you succeed in adding a new "size" property to product?
Actually if you want to use Sagawa or Yamato calcution will be good for small packets and heavy one but wrong for big but light ones...
It will be a great option too for Yubinkyoku. Their price depends on weight but especially for international shipping there is a maximum size (and weight) over which category pricing change.

Except that I still have an issue with the new product box where I can't make the month display correctly in Japanese. I think it is something with the PHP function that can't get back the month correctly. It appears like that: ??

If you have an idea about this one?
Thanks again for all you good work!

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

10 Jul 2008, 8:59 AM
#27
crystalkoi avatar

crystalkoi

Zen Follower

Join Date:
Apr 2007
Posts:
181
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

@pilou2

Did you find an encoding error in my pack, for the Sama? I thought I found them all.

As for the month thing, can you show me a url, you can pm it to me if you like and I will look at it. Sounds like and encoding error. We have a site we are finishing up, that is running this pack with no issues at all.

So let me know, I am sure its fixable.

As for the payment modules, I took them from the old pack, and just left them there. This is in case someone wants to work on them. For shipping I just use the table module a lot, and clone ones that I need and make them work the way I need. Kuroneko does a weird weight size thing, and the module that they have for that, doesn't really address that issue anyways.

Well let me know about the month thing and I will look at it.

Regards,

CKD

10 Jul 2008, 9:54 AM
#28
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
403
Plugin Contributions:
6

Re: CKD-Zen-Cart Japanese Pack

Nothing is wrong with the sama kanji. It is just that I download your pack before you fixed it...
For the month I put it back in english. I have to modify it again (and remember where it was...) and will send you an url.
As you said probably an encoding trouble but in which file? I couldn't find.

For Kuroneko I think I saw the calculation in the class or function file and it was programmed to use size. It just need an argument from the cart I thing.

About your great guide there is some explanation that is not clear here:
http://www.srw2d.com/content/japanese-zones-english
You wrote "1. Go into your admin->State -" but in fact it should be:

  1. Go into your admin->Configuration->Customur details->State -
    As I am new to Zencart it took me some time to find out where it was.

Not much at all.:wink:

Well I will end with another question... I have some trouble with the drop down zone menu. It works perfectely in address book but not in create account and shipping adress. Whatever I do I always have a full menu containing all database zones even if I delete the file 'jscript_addr_pulldowns.php' in the page/create_account folder!:dontgetit
This file has made as you said and looks fine. Are these 3 files exatly the same? For me it seems so.
ありがとうございます。

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

10 Jul 2008, 10:01 AM
#29
crystalkoi avatar

crystalkoi

Zen Follower

Join Date:
Apr 2007
Posts:
181
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

@pilou2

If you can pm me your email, then you can let me take a look at your code. It's probably my instructions, I'm not writer at all!

Thanks for finding the error on the directions there, I will fix them.

Regards,
CKD

10 Jul 2008, 10:06 AM
#30
crystalkoi avatar

crystalkoi

Zen Follower

Join Date:
Apr 2007
Posts:
181
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

I updated the instructions to this

1. Go into your admin->Configuration->Customer Details->State - Always display as pulldown? ->true->update

12 Jul 2008, 2:41 AM
#31
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
403
Plugin Contributions:
6

Re: CKD-Zen-Cart Japanese Pack

I found the answer to my last trouble with the pull down menu not working everywhere. In fact you have to copy the file "jscript_addr_pulldowns.php" created in "/includes/modules/pages/create_account/" to 3 other folders:

../includes/modules/pages/checkout_payment_address/
../includes/modules/pages/login/
../includes/modules/pages/popup_shipping_estimator/

Then all pull down menu will work.:D

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

15 Jul 2008, 3:52 AM
#33
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
403
Plugin Contributions:
6

Re: CKD-Zen-Cart Japanese Pack

It is OK, your guide already saved me lots of time.

I am still trying to fix an other problem with emails. When I do an order confirmation email is perfect in any 3 languages I use. But when I update the order status in admin an send a notification this notification email is completly messed up obviously not encoded properly.
If I send an email to customer through admin function It works fine even with japanese message as long as the admin interface is not in Japanese. But if the interface is in Japanese then every non english text is messed up.
I have tried for few days now to change few files, especially the functions_email.php but I am afraid I am not good enough to understand all the build and requirement of the email header.
I don't know what to do anymore. I was thinking it might be something wrong in the japanese admin files but where?...

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

15 Jul 2008, 3:59 AM
#34
crystalkoi avatar

crystalkoi

Zen Follower

Join Date:
Apr 2007
Posts:
181
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

@pilou2

I have 2 clients that I am working with right now that have this pack going. I am moving into email testing and such during this week and next. If I come so If there is a problem, I will run into it, and I will update the fix. Give me some time and I will update you if I have the same problem.

15 Jul 2008, 8:01 AM
#35
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
403
Plugin Contributions:
6

Re: CKD-Zen-Cart Japanese Pack

OK, thanks!:wink:

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

15 Jul 2008, 12:14 PM
#37
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
403
Plugin Contributions:
6

Re: CKD-Zen-Cart Japanese Pack

Yes this is when the admin is in Japanese that I have some trouble. This is the only way to send an update email in Japanese anyway.
If the admin is in another language (French or English), no trouble at all.

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

15 Jul 2008, 12:17 PM
#38
crystalkoi avatar

crystalkoi

Zen Follower

Join Date:
Apr 2007
Posts:
181
Plugin Contributions:
0

Re: CKD-Zen-Cart Japanese Pack

@pilou2

This is weird, b/c I just tested it and it's fine. I will load up a fresh cart, I hope tomorrow. Been crazy busy. I will let you know if I get this error. Did you edit any of the files in the admin side of the pack? I need to dive back into the code to get my head around your problem, been working on to many other things.

15 Jul 2008, 12:27 PM
#39
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
403
Plugin Contributions:
6

Re: CKD-Zen-Cart Japanese Pack

I have tried few things with some japanese admin files but I got back each time. I have someadd on installed too. I am going to check which files are new or modified in the admin part...

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

15 Jul 2008, 12:50 PM
#40
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
403
Plugin Contributions:
6

Re: CKD-Zen-Cart Japanese Pack

Here are the modified files:
in admin: mail.php and login.php
in ...functions: general.php
in ...language-Japanese: orders.php

I am not sure they are really modified. They have been edited but not all modified. The first 3 have probably just been UT8 encoded only.

ZC v2.2.2 PHP 8.4+ MySQL 8.4+