Dokumentation
Liferay stellt eine umfangreiche Sammlung von Ressourcen und Informationen zur Verfügung die unsere Community bei der Arbeit mit unserer Technolgie unterstützt.
Overriding a Language.properties File
In addition to the three capabilities of hooks already discussed, it is also possible to override Language.properties files from a hook, allowing you to change any of the messages displayed by Liferay to suit your needs. The process is extremely similar to any of the ones we have just described. All you need to do is to create a Language file for the language whose messages you want to customize and then refer to it from the liferay-hook.xml. For example to override the translations to Spanish and French the following two lines would be added to the file:
<hook>
...
<language-properties>content/Language_es.properties</language-properties>
<language-properties>content/Language_fr.properties</language-properties> ...
</hook>