Forums de discussion

6.1.2 CE - cannot override a single language property via hook

thumbnail
Kimmo Makinen, modifié il y a 10 années.

6.1.2 CE - cannot override a single language property via hook

New Member Publications: 9 Date d'inscription: 11/05/12 Publications récentes
Hi!

I'm looking for pointers as to what might be wrong here.

I have a working hook with which I can change language properties. It works.
I then want to change some titles from the Liferay Document and Media portlet.

I located the message I wanted to change from add_button.jsp, but when applying that message to the properties file of the hook, the change does not reflect.
I then tried similarly changing the actual button name (which is the "Add" button in English) and that works without issues - so I know my hook is working and that I'm trying to override the correct messages.

The message I try to change is "basic-document" and now looking for a reason as to why the language properties overriding does not work for that message. I tried even changing the other messages from the same drop-down list located in the same .jsp page and changing them work without issues. But this "basic-document" message ... refuses to co-operate. I even re-booted Liferay to no avail.

Any pointers?