This procedure can be followed whether you want to translate the
content yourself or obtain the translation from a third party.
To add translated message strings to a released component:
Unzip the .war file of the localized component you want to modify.
Edit its
portlet.xml file to enable the additional locale
you want to support. For example, to add French, include
<supported-locale>fr</supported-locale>.
In
WEB-INF/classes/com/endeca/ (or other location,
based on your component's class structure), generate a
Resource_[locale].properties file for the new
language. This file should contain target-language values of the properties
used in the component. To see the supported properties, refer to the
WEB-INF/classes/com/endeca/Resource_en.properties
file already in the component. Your file should contain a version of each of
those messages in your target language.
Re-zip the .war file of the component and place it in the
endeca-portal/deploy directory.
Liferay hot-deploys the component.
Repeat steps 1 through 4 for each component you want to enable for
your target language.
Start the Discovery Framework and add your components, as well as
the
Language component, to the page.
In the
Language component, click the flag associated
with your target language.
The Discovery Framework displays the component messages
from your resource bundle in your target language. In addition, because the
portal itself is also localized, menus and other portal controls also appear in
your target language.
In the
Language component, click the United States
flag to switch back to English.