CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Missing province in Honduras [SOLVED]
Pages: [1]

Author Topic: Missing province in Honduras [SOLVED]  (Read 1786 times)

wpost

  • Guest
Missing province in Honduras [SOLVED]
February 16, 2012, 07:30:04 pm
Upon installing the l10n file, I notice that one of Honduras's 18 provinces is missing: La Paz. How can I add it?

Prior to asking here I attempted to add it myself. I opened the file civicrm_data.es_ES.mysql. Observing how prior editors added missing data, I added at the end of the province list (line 4088):

-- Added missing province for Honduras
(NULL, 1097, "LP", "La Paz"),


It didn't work; the province drop-down control is still missing La Paz. What else might I try to get this province to appear?
« Last Edit: March 01, 2012, 05:12:11 am by wpost »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Missing province in Honduras
February 17, 2012, 06:36:59 am

You need to add this directly in the DB in the civicrm_state_province table

If you file an issue we'll get this in for the 4.2 release

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

wpost

  • Guest
Re: Missing province in Honduras [SOLVED]
February 17, 2012, 07:49:14 am
Quote from: Donald Lobo on February 17, 2012, 06:36:59 am

You need to add this directly in the DB in the civicrm_state_province table

If you file an issue we'll get this in for the 4.2 release

Fixed on my end and added to the issue tracker. Many thanks!

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Missing province in Honduras [SOLVED]
March 02, 2012, 11:32:53 pm
I've just attempted to add "Isles of Scilly" to the civicrm_state_province table, following the pattern. Presumably the country id determines which provinces appear in the drop down for each country. I've logged out and back in again, but the new entry is not available in the drop-down. Have I missed a step?

Graham
Graham Mitchell
http://mc3.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Missing province in Honduras [SOLVED]

This forum was archived on 2017-11-26.