A module I maintain is introducing the ability to customize some messaging that is output to users on the site. Up until now, that messaging has been hard-coded and output using the
TranslatableMarkup class. I'm now allowing these strings to be customized in configuration.
Is it still appropriate to just dump whatever the configured string is into the
TranslateMarkup class? It seems like I should not do that.
I found this old core issue that seems to be related to what I'm discussing, but there's no clear conclusion on what to do.