Currently, the addressfield widget is using ctools plugin. This makes it easily for developers to change or extend the address input form. This feature looks great indeed.

However, all the addresses are rendered by a fix format. and this way is mostly used by USA and EU. this is not flexible enough.

For example, In Chinese, we always express our address in below way.

江苏省 苏州市 吴中区XXX路

江苏省=> Province
苏州市=> City
吴中区=> district
XXX路=> the street details

Of course we can use some drupal hooks to alter the field render and let China address display correctly. But if addressfield can support such features based on ctools plugin, it will be another great feature!

Comments

bojanz’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

This will be resolved by the 2.x branch, which will have explicit address format entities used for formatting.
For China the underlying library already supports both major-to-minor and minor-tomajor orderings.
See my comment in #1829900: [meta] Address Field 2.x needs pluggable administrative areas and an actual API.