掲示板

Language Support

6年前 に Juan Miguel Leal Aragón によって更新されました。

Language Support

Junior Member 投稿: 27 参加年月日: 17/10/24 最新の投稿
Hello guys,

I have a question about language file properties. I have two portlets in my project plugin and i have in my file properties the key javax.portlet.title.XXX for each portlet.

How do you this case?

I read this link , but don´t work

https://web.liferay.com/es/community/wiki/-/wiki/Main/Portlet+Localization+-+Outside+Liferay

Advanced thanks.
thumbnail
6年前 に Olaf Kock によって更新されました。

RE: Language Support

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
That Wiki is deprecated, its content from between 2008 and 2012.

I'm not getting what you're trying to achieve: Have two portlets in a plugin, and give a title to both? It depends, which version of Liferay you're using. In Liferay 7 it's no problem to use the portlet id in Language.properties
thumbnail
6年前 に Jose Jimenez によって更新されました。

RE: Language Support

Regular Member 投稿: 176 参加年月日: 12/08/23 最新の投稿
Hey Juan Miguel,

if you are in prior versions to 7, try to use <portlet-name>_WAR_<satinized-war-name>, see an example of the key and a portlet descriptor

For Liferay 7 here you have the official doc, and the portlet-name it should work, see an example here and here

I hope this helps!!

Best regards,
Jose
6年前 に Juan Miguel Leal Aragón によって更新されました。

RE: Language Support

Junior Member 投稿: 27 参加年月日: 17/10/24 最新の投稿
Thank you very much emoticon
thumbnail
6年前 に Jose Jimenez によって更新されました。

RE: Language Support

Regular Member 投稿: 176 参加年月日: 12/08/23 最新の投稿
You are welcome Juan!