掲示板
Not working the code 'Liferay.Language.get('key)' in the js file in portlet
9年前 に Kiran Kumar Boyini によって更新されました。
Not working the code 'Liferay.Language.get('key)' in the js file in portlet
Expert 投稿: 287 参加年月日: 11/06/02 最新の投稿
Hi All,
I am not able to parse the language key with code inside the js file . Is that any settings need to work this code inside the js file for portlet.
I am using the following code to parse the content.
Regards,
Kiran.
I am not able to parse the language key with code inside the js file . Is that any settings need to work this code inside the js file for portlet.
I am using the following code to parse the content.
<liferay-ui:message key="vp.out_of" /> ----- in jsp --- parsing for all the languages
Liferay.Language.get('key) ------- in Js fie --- not parsing the key value based on language.
Regards,
Kiran.