You can override ice messages.
The default message package (only to find out which message is for ovverride) can be found in the original icefaces package:
icefaces3/ace/component/src/org/icefaces/ace/resources/messages.properties
Where:
org.icefaces.ace.component.fileEntry.SUCCESS = ''{0}'' has successfully uploaded ''{1}'' org.icefaces.ace.component.fileEntry.SUCCESS_detail = ''{0}'' has successfully uploaded ''{1}''
and these are the lines that I put in the application.properties file:
org.icefaces.ace.component.fileEntry.SUCCESS = File ''{1}'' caricato correttamente org.icefaces.ace.component.fileEntry.SUCCESS_detail = File ''{1}'' caricato correttamente
make sure application.properties is defined in faces-config.xml and visible by your application:
<application> <message-bundle>application</message-bundle> <locale-config> <default-locale>en</default-locale> </locale-config> </application>
This can be done with all messages by default Icefaces ...
source share