Just as a little follow up, at least the error / exception flash messages have the property "code" set, this code is an unique integer value, so you could use that as key for providing translations and then go as described. Cheers, Christian