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 CiviContribute (Moderator: Donald Lobo) »
  • Any way to change "Contribution" to "Donation" other than change .tpl?
Pages: [1]

Author Topic: Any way to change "Contribution" to "Donation" other than change .tpl?  (Read 772 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Any way to change "Contribution" to "Donation" other than change .tpl?
February 18, 2010, 03:53:06 pm
Just checking, client wants all publicly facing CiviContribute pages to use the word "Donation" rather than "Contribution".  Don't ask, not my decision.  Of course this can be changes in the .tpl.

Is there a quicker way?  Just checking.  Thanks.

Try CiviTeacher: the online video tutorial CiviCRM learning library.

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: Any way to change "Contribution" to "Donation" other than change .tpl?
February 18, 2010, 09:07:29 pm

a quick hack is to define a custom translate function, u can set the name of the function here:

http://drupal.demo.civicrm.org/civicrm/admin/setting/localization?reset=1

check:

http://svn.civicrm.org/civicrm/branches/v3.1/drupal/civitest.module.sample

search for custom_ts

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Any way to change "Contribution" to "Donation" other than change .tpl?

This forum was archived on 2017-11-26.