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) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Changing the text "Payment Options" on the contribution site
Pages: [1]

Author Topic: Changing the text "Payment Options" on the contribution site  (Read 2015 times)

jonasryenielsen

  • I’m new here
  • *
  • Posts: 3
  • Karma: 1
  • CiviCRM version: civicrm-4.3.1
  • CMS version: Wordpress
  • MySQL version: 5.0.8
  • PHP version: 5.3.13
Changing the text "Payment Options" on the contribution site
June 19, 2013, 01:40:39 pm
I have just been setting up a membership registration site.
All the data have been translated into danish and the only thing that is left is the text "Payment Options" at the first page.
Does anyone know how to change it?

best regards Jonas Rye Nielsen

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Changing the text "Payment Options" on the contribution site
June 19, 2013, 04:22:48 pm
Jonas - I just checked the smarty template which holds that text (templates/CRM/Contribute/Form/Contribution/Main.tpl) - and that string is marked for translation. Perhaps the Danish language package doesn't yet include a translation for that string ??

https://www.transifex.com/projects/p/civicrm/language/da/
Protect your investment in CiviCRM by  becoming a Member!

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: Changing the text "Payment Options" on the contribution site
June 20, 2013, 05:44:44 am
That string shows as translated in the latest translation files for Danish.

Can you try updating your language file? Download civicrm.mo from the link below and use it to replace the one in your installation at civicrm/l10n/da/civicrm.mo
https://github.com/civicrm/l10n/tree/master/po/da
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

jonasryenielsen

  • I’m new here
  • *
  • Posts: 3
  • Karma: 1
  • CiviCRM version: civicrm-4.3.1
  • CMS version: Wordpress
  • MySQL version: 5.0.8
  • PHP version: 5.3.13
Re: Changing the text "Payment Options" on the contribution site
July 09, 2013, 12:37:51 pm
I updated the files and that worked! Thank you very much  :D

Ludwighysly

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: gsdfh
  • CMS version: sdfhsdfh
  • MySQL version: fdshsd
  • PHP version: dfhsd
Re: Changing the text "Payment Options" on the contribution site
August 29, 2013, 08:05:55 pm
 It would be kind of nice to be able to push to the github/civicrm repository, as a language maintainer.

mathieu

  • Administrator
  • Ask me questions
  • *****
  • Posts: 620
  • Karma: 36
    • Work
  • CiviCRM version: 4.7
  • CMS version: Drupal
  • MySQL version: MariaDB 10
  • PHP version: 7
Re: Changing the text "Payment Options" on the contribution site
August 30, 2013, 08:48:55 am
The Transifex command line tool can help a lot, if you're comfortable with the command line:
http://wiki.civicrm.org/confluence/display/CRMDOC/Localisation+stack

(this is a general wiki page for l10n maintenance, you can skip the step about cloning civicrm-core, packages, etc, only clone the "l10n" repository)

The most important steps are:

* Install Git, e.g. sudo apt-get install git
* Install Transifex Client, e.g. "sudo easy_install transifex-client" or "sudo apt-get install transifex-client"
* Clone the l10n repository:

Code: [Select]
mkdir -p ~/repositories/civicrm
cd ~/repositories/civicrm
git clone https://github.com/civicrm/l10n.git

Set your Transifex credentials (login/pass) in ~/.transifexrc

Code: [Select]
[https://www.transifex.net]
hostname = https://www.transifex.com
password = [password here]
username = [your-transifex-username]

A few Transifex commands:

Pull all updates:
Code: [Select]
$ tx pull -a
Pull only Danish:
Code: [Select]
$ tx pull -l da_DA
Push changes to Transifex:
Code: [Select]
$ tx push -l da_DA
Push a specific file:
Code: [Select]
$ tx push -l da_DA -r civicrm.event
More info here:
http://support.transifex.com/customer/portal/topics/440187-transifex-client/articles
« Last Edit: August 30, 2013, 08:51:55 am by mathieu »
CiviCamp Montréal, 29 septembre 2017 | Co-founder / consultant / turn-key CiviCRM hosting for Quebec/Canada @ SymbioTIC.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Internationalization and Localization (Moderators: Michał Mach, mathieu) »
  • Changing the text "Payment Options" on the contribution site

This forum was archived on 2017-11-26.