Skip to main content
3 votes

Change checkbox label in event form

You could use the Word Replacement feature with no code to change the string 'Public Event' to something else. Here's a link to the documentation: https://docs.civicrm.org/user/en/latest/initial-set-...
Coleman's user avatar
  • 18.8k
2 votes
Accepted

Word replacement of word "Check" with "Cheque" does not work everywhere

I can see in the en_GB translations it hasn't been translated yet: https://lab.civicrm.org/dev/translation/-/blob/b5f52d09f30de9ce51e90400fa4b524f1fc4a879/po/en_GB/common-base.po#L12313. (Well, ...
Demerit's user avatar
  • 23.3k
2 votes
Accepted

Easy way of one word translation?

Following on from comments, if this is custom code then you can use CRM.config.locale and hardcode the translation there, e.g. var text = 'banana'; if (CRM.config.locale == 'fr_FR') { text = 'banane'...
Demerit's user avatar
  • 23.3k
1 vote
Accepted

Change checkbox label in event form

Yes possible to do it using build form hook, but you will still need to play around with the label of the field because its a checkbox and is written differently. So using JS you will need to replace ...
Pradeep Nayak's user avatar
1 vote

Easy way of one word translation?

Last I remember Administer - Customize - Word Replacements works for this it's just not obvious how to enter the text for the other languages. You need to switch to the language first then load the ...
Demerit's user avatar
  • 23.3k

Only top scored, non community-wiki answers of a minimum length are eligible