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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Representing English & Chinese Names
Pages: [1]

Author Topic: Representing English & Chinese Names  (Read 771 times)

sgchan

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 0
Representing English & Chinese Names
May 26, 2009, 06:10:28 pm
I have a question about capturing names. Assuming a person's name is Peter Tan Wah Chee, where Tan is the Last Name, Peter is the English Given Name and Wah Chee is the Chinese Given Name. What is the best way to capture this and have it displayed as Peter Tan Wah Chee?

In addition, the person would also have a name in Chinese characters.

So what is the best way to capture everything?  ???

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: Representing English & Chinese Names
May 26, 2009, 06:23:48 pm

I would store both the chinese english name and chinese name as custom fields that extend individual.

You can then implement a post process hook and copy the english name to the middle name of the individual

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

sgchan

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 0
Re: Representing English & Chinese Names
May 26, 2009, 07:02:37 pm
Lobo, thank you for the very prompt reply.

I am a newbie to CiviCRM. I know how to create custom fields for capturing the Chinese names in English character and Chinese character. However I do have the following questions:

1. Why would you want the English name to be copied to Middle name?
2. How do you implement a post process hook?
3. Is it possible to set the display name to <English Given Name> <Last Name> <Chinese Given Name - in English>?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Representing English & Chinese Names

This forum was archived on 2017-11-26.