Hello,
Right now when I throw InvalidPluginExecutionException errors I supply it with messages, e.g.: Deactivation is not allowed , so error looks like this: throw new InvalidPluginExecutionException("Deactivation is not allowed");
This error is displayed on any language, in crm.
Is there a possibility to translate this message, without plugin ?
I mean, can I treat this message as a key which will be added in the translations excel file and which will have different language options ?
Or is passing the correct language string the only solution ?
Thanks