Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Damien Tournoud’s picture

Status: Needs review » Needs work

Hi there. I would like some feedback on how to properly support Japan addresses.

Do Japanese users expect to input the addresses from the "largest geographical area to the smallest one", as documented by the UPU?

Could you provide some annotated screenshots of the typical address input form a Japanese user would expect?

The -reloaded branch has been merged, so this is going to need to be reimplemented.

Damien Tournoud’s picture

Title: Support for Japnese addresses » Support for Japanese addresses
pineray’s picture

FileSize
21.71 KB

Attached the screen shot.
It is the address input form of Rakuten the largest online shopping mall in Japan, and the typical address input form.

pineray’s picture

Attached another one.
It is the address input form of 'Yahoo! shopping' which is the second largest online shopping mall in Japan.

pineray’s picture

FileSize
17.27 KB

The address input form of EC-CUBE.
EC-CUBE is open source e-Commerse software and most popular in Japan.

Gastonia’s picture

I am interested in this as well. Can you elaborate more please on what the patch does?

rszrama’s picture

Component: Code » Address formats
attiks’s picture

Issue summary: View changes

According to my Japanese client the right order is

zip =郵便番号
state = 都道府県
city = 市町村
address 1 = 番地
address 2 = ビル・マンション名

attiks’s picture

FileSize
824 bytes
attiks’s picture

Status: Needs work » Needs review
shi99’s picture

The patch in comment #9 follows the correct layout for a Japanese address.
I have added to the patch to include the Prefectures that are used in Japan.
The images attached shows an example of how Japanese addresses are structured. This was taken from the Japanese Amazon website.

Find attached the patch and example image.

attiks’s picture

FileSize
2.57 KB
attiks’s picture

FileSize
2.65 KB

New patch so it outputs the name instead of the id

shi99’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #13 works for me.
Gives the Japanese prefectures and outputs the name instead of the id.

Bensbury’s picture

Patch #13 is good.

shi99’s picture

What is required for this patch to be commited to the module?
Is more testing required or are the approval comments above enough?

sdelbosc’s picture

Maybe using a new address formatter like 'Inverted address units' which would just change the weights of the elements would make sense here.
In my case, the client wants this inverted order at least for Japan and China.

shi99’s picture

"Inverted address units" formatter may solve the weight issue, but the patch in #13 also adds the Japanese prefectures so they are available for the user to choose from a dropdown. So I think the patch would be a useful addition to the module.

bojanz’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thank you!

  • bojanz committed afed5d0 on 7.x-1.x authored by attiks
    Issue #1107484 by pineray, attiks, shi99: Support for Japanese addresses
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.