I have a asset-publisher
of news/articles, but when I enter the name of a non-existent article in the friendly URL it appear wrong message.
Friendly URL:
/-/asset_publisher/instanceID/content/name-of-non-existent-article
Error message:
El usuario no existe.
Translated:
The user could not be found.
Literally translated:
The user does not exist.
But as i said my asset-publisher
is of articles/news and not of users.
Is there a way to change this message?
Or maybe i need to specify the content type? How?
I wont to hook that property:
the-user-could-not-be-found=The user could not be found.
That was not the key to hook (i was looking another version properties), look at answer.
I realized it was a translation mistake from Liferay
thanks to Jonatan Cloutier comment of Content cannot be found
.
Finally search this literal here Language_es.properties
the-asset-could-not-be-found=El usuario no existe. //The user does not exist.
And the same literal on english Language.properties:
the-asset-could-not-be-found=The asset could not be found.
So i decide to hook it cause it was a translation mistake only in Spanish properties.