資料 リソース
Liferayは、コミュニティにてテクノロジーをより良く使うために役立つ豊富なリソースと知識を提供しています。
Overriding a Language.properties File
Change any of the messages displayed by Liferay to suit your needs, by overriding a Language.properties file from a hook. To do so, create a Language file for the language whose messages you want to customize, then refer to it from your liferay-hook.xml. For example, to override the Spanish and French message translations, create Language files of the same name and similar path in your hook project and refer to them in your liferay-hook.xml file as in the following:
<hook>
...
<language-properties>content/Language_es.properties</language-properties>
<language-properties>content/Language_fr.properties</language-properties>
...
</hook>
tip
Tip: Check the DTD of each Liferay XML file you modify for the elements and attributes that can be included in the XML and the specified order for those elements.