When using system settings, locale setting just works perfectly. But if you have a multi context site, and you define locale setting per context, it is not overridden, even if general system setting is empty.
Step to reproduce
On a template, use the createdon date with an output modifier in order to output data with text, like 20th September 2019:
[[+publishedon:date=`%e %b %Y`]]
Then go to system settings and change locale to different language and you will see it applied properly.
If you have other contexts and edit/add locale setting into the contexts, and clear the general locale system setting, it won’t work. It just outputs in English
Context defined locale should be processes just like any other system setting when defined on the context.
MODX 2.7.1-pl (Windows or Linux showing same behavior. Windows with latest xampp with php 7.3, Linux with php 7.3 and cpanel), with xrouting and Babel
Thanks in advance for your help and suggestions