If you are from Argentina, here is the code to add at "address.inc" file.

ISO 3166-2

  else if ($address['country'] == 'AR') {
    $format['locality_block']['administrative_area']['#options'] = array(
      '' => t('-Seleccione una opción-'),
      'AR-B' => t('Buenos Aires'),
      'AR-K' => t('Catamarca'),
      'AR-H' => t('Chaco'),
      'AR-U' => t('Chubut'),
      'AR-X' => t('Córdoba'),
      'AR-W' => t('Corrientes'),
      'AR-E' => t('Entre Ríos'),
      'AR-P' => t('Formosa'),
      'AR-Y' => t('Jujuy'),
      'AR-L' => t('La Pampa'),
      'AR-F' => t('La Rioja'),
      'AR-M' => t('Mendoza'),
	  'AR-N => t('Misiones'),
	  'AR-Q' => t('Neuquén'),
	  'AR-R' => t('Río Negro'),
	  'AR-A' => t('Salta'),
	  'AR-J' => t('San Juan'),
	  'AR-D' => t('San Luis'),
	  'AR-Z' => t('Santa Cruz'),
	  'AR-S' => t('Santa Fe'),
	  'AR-G' => t('Santiago del Estero'),
	  'AR-V' => t('Tierra del Fuego, Antártida e Islas del Atlántico Sur'),
	  'AR-T' => t('Tucumán'),
    );
    $format['locality_block']['administrative_area']['#title'] = t('Provincia');
  }

Comments

FAAREIA’s picture

Sorry, there was a missing '. Here it's again

else if ($address['country'] == 'AR') {
	$format['locality_block']['administrative_area']['#options'] = array(
		'' => t('-Seleccione una opción-'),
		'AR-B' => t('Buenos Aires'),
		'AR-K' => t('Catamarca'),
		'AR-H' => t('Chaco'),
		'AR-U' => t('Chubut'),
		'AR-X' => t('Córdoba'),
		'AR-W' => t('Corrientes'),
		'AR-E' => t('Entre Ríos'),
		'AR-P' => t('Formosa'),
		'AR-Y' => t('Jujuy'),
		'AR-L' => t('La Pampa'),
		'AR-F' => t('La Rioja'),
		'AR-M' => t('Mendoza'),
		'AR-N' => t('Misiones'),
		'AR-Q' => t('Neuquén'),
		'AR-R' => t('Río Negro'),
		'AR-A' => t('Salta'),
		'AR-J' => t('San Juan'),
		'AR-D' => t('San Luis'),
		'AR-Z' => t('Santa Cruz'),
		'AR-S' => t('Santa Fe'),
		'AR-G' => t('Santiago del Estero'),
		'AR-V' => t('Tierra del Fuego, Antártida e Islas del Atlántico Sur'),
		'AR-T' => t('Tucumán'),
	);
	$format['locality_block']['administrative_area']['#title'] = t('Provincia');
}
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.

FAAREIA’s picture

Status: Active » Closed (duplicate)