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) »
  • No way to provide translation for Contribution Introductory Message?
Pages: [1]

Author Topic: No way to provide translation for Contribution Introductory Message?  (Read 943 times)

smallbiz

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 2.5, 3.3
  • MySQL version: 5
  • PHP version: 5.2
No way to provide translation for Contribution Introductory Message?
December 20, 2011, 11:49:34 am
I'm running Joomla 1.5.25 and civiCRM 3.4.8 with multilingual functionality enabled.
For most areas of civiCRM, we see the option to provided translated text.

But, for Introductory Message for a Contribution -- the option is missing (see screen shot).

How does one correct this?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: No way to provide translation for Contribution Introductory Message?
December 20, 2011, 06:58:22 pm
This seems like an oversight in the .tpl file - but I need to check w/ some other folks on the team to see if there's a reason for it. That field is marked as localizable in the schema. When I updated Settings.tpl to include the localization widget, I was able to localize it. The one drawback is that the pop-up dialog for the editing multiple languages doesn't include the WYSIWYG editor (but seems to accept HTML tags).

I replaced the existing line 85 in templates/CRM/Contribute/Form/ContributionPage/Settings.tpl with this:
Code: [Select]
    <td class ="label">{$form.intro_text.label}<br /> {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='intro_text' id=$contributionPageID}{/if} {help id="id-intro_msg"}</td><td>{$form.intro_text.html}</td>

Caveat - there MAY be a reason this isn't currently included in the distribution. If not, I'll add this change to the upcoming 4.1 release and post the issue number here.
Protect your investment in CiviCRM by  becoming a Member!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: No way to provide translation for Contribution Introductory Message?
December 21, 2011, 06:20:50 pm
Confirmed that the missing multi-language widgets are a bug. Issue filed and fix committed for 4.1:

http://issues.civicrm.org/jira/browse/CRM-9381
Protect your investment in CiviCRM by  becoming a Member!

smallbiz

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 2.5, 3.3
  • MySQL version: 5
  • PHP version: 5.2
Re: No way to provide translation for Contribution Introductory Message?
January 03, 2012, 11:41:53 am
Great that this will be fixed in 4.1 -- for those of us still using Joomla 1.5 -- will a solution be available in civiCRM 3.4.x?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: No way to provide translation for Contribution Introductory Message?
January 03, 2012, 11:46:35 am
You should be able to apply this patch:
http://fisheye2.atlassian.com/viewrep/CiviCRM/branches/v4.1/templates/CRM/Contribute/Form/ContributionPage/Settings.tpl?r1=37855&r2=38044
Protect your investment in CiviCRM by  becoming a Member!

smallbiz

  • I post occasionally
  • **
  • Posts: 43
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Joomla 2.5, 3.3
  • MySQL version: 5
  • PHP version: 5.2
Re: No way to provide translation for Contribution Introductory Message?
January 03, 2012, 12:07:40 pm
Thanks so much! That resolves the issue :-)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • No way to provide translation for Contribution Introductory Message?

This forum was archived on 2017-11-26.