Fix failure to fall back to site default language, if configured
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 11 Jul 2023 00:16:28 +0000 (12:16 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 11 Jul 2023 01:16:08 +0000 (13:16 +1200)
commit719c57ac144bfd6de436bbb6a566bb444338dfe7
tree8ae878d171a1374e4bca27ac6ce64f0116c43b48
parent79cbcf953ebc6b27c61bc426f95b61498fc374fe
Fix failure to fall back to site default language, if configured

This addresses scenario 6 here
https://github.com/civicrm/civicrm-core/pull/26232#issuecomment-1624455432
CRM/Core/BAO/Translation.php
Civi/WorkflowMessage/Traits/LocalizationTrait.php
tests/phpunit/CRM/Core/BAO/MessageTemplateTest.php