The provinces for Japan are entered in such a way that numbers are displayed instead of the names or abbreviations.

For example, with the United States, entering:

City: Dallas
State/Province: Texas

... results in the following being displayed:

Dallas, TX

With Japan, however, entering:

City: Kamakura
State/Province: Kanagawa

... results in the following being displayed:

Kamakura, 14

It appears the problem lies in location.jm.inc, in which the array is entered using numbers as keys, whereas all the other location.*.inc files use province abbreviations as keys. And the keys are what's displayed. (It would be nice to be able to choose between displaying abbreviations or full names, but that's a whole separate issue.)

Comments

yesct’s picture

can someone re-write the location.jm.inc file so that the abbreviations are keys? And test it with the most recent dev version?

(adding the phrase location.xx.inc so people can find this issue when searching for location.xx.inc)

yesct’s picture

Status: Active » Postponed

postponed until someone is motivated to fix this on contribute to a fix. Please reply if you can confirm this is still a problem in the newest release or dev.

ankur’s picture

Status: Postponed » Closed (works as designed)

It looks like we're using the ISO codes for the subdivisions:

http://en.wikipedia.org/wiki/ISO_3166-2:JP

In the newer versions, it should be possible to configure the module so that the full name is displayed rather than the back-end code/abbreviation.