Forums de discussion

JSP Portlet with internationalization

xodiaxe techo, modifié il y a 15 années.

JSP Portlet with internationalization

New Member Publications: 5 Date d'inscription: 11/08/08 Publications récentes
I developped a JSP portlet , and I'd like to use the internationalization. So, in my JSP I added this line:

"<liferay-ui:message Key="XXXXXXXXX" />"

But i don't know in which files i must define the associated text with XXXXXXXXX for each language
Ganesh Ram, modifié il y a 15 années.

RE: JSP Portlet with internationalization

Regular Member Publications: 199 Date d'inscription: 05/02/08 Publications récentes
I think its portal-impl\src\content\Language.properties
xodiaxe techo, modifié il y a 15 années.

RE: JSP Portlet with internationalization

New Member Publications: 5 Date d'inscription: 11/08/08 Publications récentes
Thanx to you Ganesh ram


but I think I must have the same number of files. properties that languages. For exemple, if I have 3 languages (En, Fr, Es) -I think- I must have 3 files .properties:
(portal_en.properties, portal_fr.properties and portal_es.properties)
or
(language_en.properties, language_fr.properties and language_es.properties)

Realy, I don't know exactly which kind of files i must have (The first, or the second one), and also, in which directory (of course in the ext environnement) they must be created or modified???????
Ganesh Ram, modifié il y a 15 années.

RE: JSP Portlet with internationalization

Regular Member Publications: 199 Date d'inscription: 05/02/08 Publications récentes
I see files like language_ar.properties, language_fr.properties, etc in the same directory.


portal.properties has got nothing to do with i18n.