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 »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • mapping domains in multilingual version
Pages: [1]

Author Topic: mapping domains in multilingual version  (Read 2220 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
mapping domains in multilingual version
October 28, 2009, 04:50:33 am
I would like to configure a multilingual installation of CiviCRM to support CiviEvent. The use case is ticket sales for events for an organization that mirrors its web presence in French and English on two domains that we'll call francais.ca and english.ca. So the CiviCRM interface and event descriptions should be served in English or French depending on the domain, but with common reporting for ticket sales, etc.

Is the mirroring of event description content in more than one language supported at present? If so, what would be the best way to configure a mirrored French and English site served at francaise.ca and english.ca? Should we set up Apache rewrite rules so that
english.ca > english.ca/en
francais.ca > english.ca/fr

Or do we have to do two sites, and manual work after the fact to integrate sales for each event?

The MySQL 5.1 requirement can be met, but I've not attempted multi-lingual work since it was supported in core in 2.1 I believe.

Thanks,
Joe
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: mapping domains in multilingual version
October 28, 2009, 07:59:18 am
Quote from: JoeMurray on October 28, 2009, 04:50:33 am
I would like to configure a multilingual installation of CiviCRM to support CiviEvent. The use case is ticket sales for events for an organization that mirrors its web presence in French and English on two domains that we'll call francais.ca and english.ca. So the CiviCRM interface and event descriptions should be served in English or French depending on the domain, but with common reporting for ticket sales, etc.

Ok, this should be doable, although might require a bit of hacking to set the right language based on the domain.

Quote
Is the mirroring of event description content in more than one language supported at present?

Yes, the civicrm_event.description database field is marked as localisable in our schema, which means it’s multilingual in multilingual installs.

Quote
If so, what would be the best way to configure a mirrored French and English site served at francaise.ca and english.ca? Should we set up Apache rewrite rules so that
english.ca > english.ca/en
francais.ca > english.ca/fr

Or do we have to do two sites, and manual work after the fact to integrate sales for each event?

You definitely should do one site. If you’re not using Drupal or Joomla! (and so can’t inherit their language choice), the rewrite rule should be adding …&lcMessages=xx_YY to the end of the rewritten URLs to make sure the language choice is reflected in CiviCRM.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: mapping domains in multilingual version
October 28, 2009, 03:58:40 pm
Thanks, Piotr!

It seems I may be doing a Drupal multi-lingual install soon as well.

Cheers,
Joe
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Standalone Installations (Moderator: cap10morgan) »
  • mapping domains in multilingual version

This forum was archived on 2017-11-26.