how can I translate core messages?
For example in CMSMain class (in file cms/code/CMSMain.php, Silverstripe version 2.4.5 - [url=https://github.com/silverstripe/silverstripe-cms/blob/2.4/code/CMSMain.php#L373]github[/url]) is this code snippet:
FormResponse::status_message('Saved site configuration', "good");
Is there a "right" way, how this message can be translated? Without editing core files.
I think the best way to handle these messages that should have the _t() method applied to them, is to create a patch and a ticket for them. This ticket would probably also include an entry in cms/lang/en_US and your chosen language file...
The translation would look something like this
FormResponse::status_message(_t('CMSMain.SAVEDSITECONFIGURATION','Saved site configuration'), "good");
In the meantime, there's not much else to do but manually enter the replacement code in your core, I guess :-(