Hot answers tagged

2 votes
Accepted

Why settings.default.json file is neglected during install?

The solution was: Add a define('CIVICRM_L10N_BASEDIR', '/var/aegir/platforms/YOUR-PATH'); statement to platform.settings.php file of Aegir (see: Altering Aegir's Behaviours), to set an environmental ...
Doka's user avatar
  • 387
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
  • 21.7k
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
  • 21.7k

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