Fórumok

how to modify the default error Messages

Christian Perez, módosítva 9 év-val korábban

how to modify the default error Messages

Junior Member Bejegyzések: 47 Csatlakozás dátuma: 2013.07.19. Legújabb bejegyzések
I want to modify a default error Message, the error message is the next:

<liferay-ui:error exception="<%= DuplicateUserScreenNameException.class %>" message="the-screen-name-you-requested-is-already-taken" />


Where is the location of the file that contains this messages or is there some way to override this message manually?
maybe en de message tag?

Some help?

Thanks and regards
thumbnail
Andew Jardine, módosítva 9 év-val korábban

RE: how to modify the default error Messages

Liferay Legend Bejegyzések: 2416 Csatlakozás dátuma: 2010.12.22. Legújabb bejegyzések
Hey Christian,

You can override this from the Language.properties. Just create a language hook and add the key from the tag with whatever message you want it to say. In the Language.properties file (the portals) it currently has --

the-screen-name-you-requested-is-already-taken=The screen name you requested is already taken.