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) »
  • English localiSation & a multilingual query
Pages: [1]

Author Topic: English localiSation & a multilingual query  (Read 1348 times)

billa

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1.68
  • PHP version: 5.4
English localiSation & a multilingual query
September 10, 2013, 07:30:31 am
is there any reason why when one enables English as the language (ie not English - United States) the menus still use US spellings? I don't mind doing the Word replacement thing but I'd like to know why it's necessary ...   :-[

Also one quick thing which I haven't experimented with yet but will try later: if I want the site in English but need to be able to handle French members, I'm assuming I need to enable French as a language in order to get address checking etc?

Thanks in advance,

Andy

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: English localiSation & a multilingual query
September 11, 2013, 05:51:22 pm
Hi,

Can you give example of incorrect spellings in the menu? You can also check in https://www.transifex.com/projects/p/civicrm/ to see if the word was translated. The translation may be incomplete or require an update.

If it was indeed translated, and your translation file is up to date (you can get the latest civicrm.mo for your language at https://github.com/civicrm/l10n/blob/master/po/en_GB/civicrm.mo, click on the "Raw" button), verify:

* post a screenshot of your "localisation" screen, to see how your site is configured, + which version are you using?
* rebuild the menu by accessing the URL equivalent to http://www.example.org/civicrm/menu/rebuild?reset=1

Mathieu
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

billa

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1.68
  • PHP version: 5.4
Re: English localiSation & a multilingual query
September 11, 2013, 06:39:14 pm
localisation v customization: not consistent.
I've looked at the Transifex site and it has it as a translation (which it isn't, by the way) that hasn't been completed.

The second part of my question is actually more important: can I get EU address format validation without actually enabling non-English EU languages, for a site where the only supported language is English but members from outside UK are allowed? It's a membership site, so while an amount of constraints (ie English language only) will be acceptable, I need to work out the constraints within which I need to work?

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: English localiSation & a multilingual query
September 12, 2013, 08:38:25 am
I'm not sure about address validation:

* CiviCRM has the concept of address standardisation, which can use an external service (USPS, Google?) to normalize the address. Ex: if the user enters "123 Main blv", it would normalize to the official format. I'm not sure how that would work for EU countries or what the common practices are.

* address fields can be globally enabled/disabled, but not per-language or per country. For example: if you need the "county" field only for specific countries, but not others, you may want to use Javascript to show/hide the field depending on the country value.

* the address display format, for when the address is shown to the user on the confirm page: again, mostly global. Either customize in templates, or a hook, if various countries have strict requirements.

I may have misinterpreted what you meant. Please provide examples of the types of data that could be entered and what kind of validation needs to happen for two different countries.
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

billa

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1.68
  • PHP version: 5.4
Re: English localiSation & a multilingual query
September 13, 2013, 02:14:06 am
actually I think I'll tackle this another way, using webform conditionals and webform/civi integration - allow the user to select a country first, then just display appropriately named fields (so UK users have postcode, US users ZIP, etc).

Will continue to look at whether there are EU standards though, as if there are (hard to believe that there are not!) it might be of interest in the future. If I find anything of use I'll update this.

Thanks,

michelt

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5.5.9
Re: English localiSation & a multilingual query
August 19, 2016, 04:26:58 am
We are facing the same problem. Did you find anything useful since your last post ?
I found this : Add the ability to define per-country address formats https://issues.civicrm.org/jira/browse/CRM-3854  which could be a good startpoint.



Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • English localiSation & a multilingual query

This forum was archived on 2017-11-26.