From 43d1ad94e24e854dc47b5735621eaaa318c263c0 Mon Sep 17 00:00:00 2001 From: fliespl Date: Sun, 5 Feb 2017 13:19:02 +0100 Subject: [PATCH] CRM-19896 - customTranslateFunction not mapped `customTranslateFunction` is not defined in `getPropertyMap` method with `MagicMerge` class. It causes Custom Translation Function to not be taken into consideration at all while translating strings. Solution: adding `customTranslateFunction' => array('setting'),` key to `getPropertyMap` array resolves the issue. --- CRM/Core/Config/MagicMerge.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/Config/MagicMerge.php b/CRM/Core/Config/MagicMerge.php index 72fe7827ed..7193f93007 100644 --- a/CRM/Core/Config/MagicMerge.php +++ b/CRM/Core/Config/MagicMerge.php @@ -124,6 +124,7 @@ class CRM_Core_Config_MagicMerge { 'backtrace' => array('setting'), 'contact_default_language' => array('setting'), 'countryLimit' => array('setting'), + 'customTranslateFunction' => array('setting'), 'dateInputFormat' => array('setting'), 'dateformatDatetime' => array('setting'), 'dateformatFull' => array('setting'), -- 2.25.1