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) »
  • Api i18n issue on profile fields from custom data
Pages: [1]

Author Topic: Api i18n issue on profile fields from custom data  (Read 1485 times)

jarune

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4
  • CMS version: Drupal
  • MySQL version: 5.5.9
  • PHP version: 5.3
Api i18n issue on profile fields from custom data
July 12, 2012, 11:05:10 pm
When I use the api v3 to get profile data based on custom values, the api return the real form values instead of the (translated!) labels.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Api i18n issue on profile fields from custom data
July 12, 2012, 11:27:33 pm
Hi,

Not sure I understand what api you are calling. Could you detail?

Anyway, which version of civicrm are you using? We did realise that the translation on civi was fairly expensive (memory/cpu).

As far as I remember, we did disable it from the the api (that we wanted to be fast, especially for ajax calls), and we thought it wouldn't have any impact, wrongly it seems. Could you detail the api you call/use case to be sure we are talking about the same thing?

I don't recall if there is a param to force the translation.

Anyway, as mathieu did switch the translation to use the native gettext, It might not be such an issue anymore.

Eileen/erik, do you recall what was done/who did it?

X+

P.S Are you coming to civicon london? london2012.civicrm.org
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Api i18n issue on profile fields from custom data

This forum was archived on 2017-11-26.