hi, in gmaps.module, line 3831 i see

/**
 * Helper function for address details fields.
 *
 * @return
 *  An array of detail fields in hierarchycal order.
 *  The values of the array are the default labels of the fields in english.
 */
function _gmaps_address_get_parts() {
  return array(
    'country' => 'Country',
    'adminarea' => 'Administrative area',
    'subadminarea' => 'Subadministrative area',
    'locality' => 'Locality',
    'deplocality' => 'Neighborhood',
    'postalcode' => 'Postal code',
    'thoroughfare' => 'Thoroughfare',
  );
}

and i want translate labels, but after finding string via drupal translation interface and add translation there is no expected changes on node field form

i do this

/**
 * Helper function for address details fields.
 *
 * @return
 *  An array of detail fields in hierarchycal order.
 *  The values of the array are the default labels of the fields in english.
 */
function _gmaps_address_get_parts() {
  return array(
    'country' => t('Country'),
    'adminarea' => t('Administrative area'),
    'subadminarea' => t('Subadministrative area'),
    'locality' => t('Locality'),
    'deplocality' => t('Neighborhood'),
    'postalcode' => t('Postal code'),
    'thoroughfare' => t('Thoroughfare'),
  );
} 

and all works fine

please, help me, is it a bug o issue in my installation ?

Comments

lupus78’s picture

Yes, it's strange... Lat and Lon texts are translateable.... it's still like this in the dev version.