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) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Logging in Multilingual Install
Pages: [1]

Author Topic: Logging in Multilingual Install  (Read 8652 times)

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Logging in Multilingual Install
May 15, 2012, 03:09:26 pm
I'd like to enable the advanced logging, but I am using a multi-lingual install.

This blog post indicates that this feature should be available in versions 3.4 onwards, but I am running 4.1.1 and the feature is grayed out.

What is the status of this?

Brian

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: Logging in Multilingual Install
May 15, 2012, 03:51:44 pm

Nope this feature has not been worked on :(

But there have been changes done in 4.2 that make this potentially possible in a future version. Let us know if you are interested in working on this and pushing it forward

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

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Logging in Multilingual Install
May 15, 2012, 04:53:39 pm
I'd be interested in working on it, if someone can give me some pointers where to start. I don't know much about triggers - so that might be an issue. Could it also be an MIH? Have some funds available.

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: Logging in Multilingual Install
May 15, 2012, 08:41:15 pm

Might want to check this in 4.2 from svn since its a lot easier there

http://book.civicrm.org/developer/ should get you going. Both multi-lingual and logging are triggered from the admin screens

You'll need to combine the two trigger bodies and ensure it executes successfully

I do think multi-lingual deserves a re-think of its architecture. The current version does not scale beyond 2-4 languages

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

capo

  • I post occasionally
  • **
  • Posts: 108
  • Karma: 5
Re: Logging in Multilingual Install
August 21, 2012, 01:13:55 pm
bpmccain: Did you finally start doing something about this topic? I'm also interested on solving it. As far as I understood, the problem is trying to make multilingual triggers compatible with logging ones. I've been working with triggers for a long time but not with CiviCRM developments. It would be my first contribution to the core, so if you are still interested, we may help each other and work on it together.

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Logging in Multilingual Install
August 24, 2012, 05:16:07 am
I haven't started looking at it yet - I haven't had much experience playing around with triggers, but it is something I would like to start looking at.

I'm just in the process of moving to 4.2 as lobo suggested. I'll have a little dig around, and then maybe we can meet on IRC and discuss?

Brian

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Logging in Multilingual Install
May 09, 2013, 05:35:04 pm
As a long overdue update to this, we have hired a summer co-op student to work on this (and some other custom features) over the next 3 months. Will keep everyone up to date, and if we can get it working well, maybe we can get this into the Core in the near future.

Brian

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Logging in Multilingual Install
May 18, 2013, 02:58:05 pm
We've got it working on a bilingual (english and french) 4.3 installation on Drupal.

You can find the patch here. It needs to be generalized to work for all languages, but it is a starting point.
http://issues.civicrm.org/jira/browse/CRM-12658

Brian

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Logging in Multilingual Install
September 03, 2013, 02:17:17 am
just wondering if there is any update - it is working well for the English/French - has anyone else looked at generalising the solution?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Logging in Multilingual Install
September 03, 2013, 09:56:33 pm
One approach which might help with the limitations in supported languages & the trigger conflict would be to replace the multilingual triggers with IF (NULLs) in the view definition since they mostly exist to copy 'en_US' fields to other languages if they are null.

Note that the limit on the number of languages is primarily because of the duplication of a few long fields into several language fields.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

bpmccain

  • I post frequently
  • ***
  • Posts: 255
  • Karma: 5
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.12
  • MySQL version: 5.2
  • PHP version: 5.2
Re: Logging in Multilingual Install
September 10, 2013, 03:03:16 pm
We haven't done any work on generalization of this since the original work. It is working well for us and we have had other priorities in the meantime. I'd like to come back to it at some point though - Sorry!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Logging in Multilingual Install

This forum was archived on 2017-11-26.