Hello, in the next post I'm planning to commit the Colombia states list (in this country is called departments). By the way, Is it possible to show "department" instead of "state" ?

Comments

yaazkal’s picture

Hello, this patch contains:

  • Colombian departments (states)
  • Administrative area name to "department" instead of state
yaazkal’s picture

Status: Active » Needs review

There is just one division that I don't added is
'DC' => 'Distrito Capital de Bogotá'

That is not a department, it is a capital district. What to do in this case when all are departments and only one is a district? Does it need to be added as well?

Regards !

yaazkal’s picture

Hi, please review this patch and commit it. In this patch:

  • Added Colombian Departments support
  • Fixed "Guanía" to "Guainía" (compared to the #1 patch)
  • Hide the "Address 2" for Colombia because is more common to only use just one Address Field
  • Added the "Neighborhood" field to the locality and rearrange the presentation of the locality block

Thanks

PS: 7.x-1.0-beta3 still don't have the Colombian Departments changes described in the last patch so I also included them in this one.

j0rd’s picture

Issue tags: +pluggable regions

This is a duplicate of
#1829900: [meta] Address Field 2.x needs pluggable administrative areas and an actual API

If you think so to, please close your ticket.

rszrama’s picture

Component: Code » Address formats
bojanz’s picture

Title: Colombia "states" missing on addresfield and its name "departments" » Add Columbian administrative areas (departments)
Issue summary: View changes

Retitling.

  • bojanz committed 0091690 on 7.x-1.x authored by Yaazkal
    Issue #1707192 by Yaazkal: Add Columbian administrative areas (...
bojanz’s picture

Status: Needs review » Fixed

I have committed the administrative areas:
http://cgit.drupalcode.org/addressfield/commit/?id=0091690

I didn't commit anything related to neighborhoods or single address lines because I couldn't find any official information on the Columbian address format.
Google's dataset doesn't have it, and UPU doesn't have it: www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/colEn.pdf
I tried searching on the site of the post office (4-72.com.co), also found nothing.
Please give me an official source and some official address examples (banks, government institutions, etc), and I will make those changes as well.

Status: Fixed » Closed (fixed)

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

JMTorres’s picture

According to FedEx, Colombia now also requires postal codes since September 29th, 2014.

http://www.fedex.com/co_english/postalcodes/
http://codigopostal.gov.co/

Should this be a separate issue?

bojanz’s picture

Yes, please open a new issue.