Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Accessibility Theme and Portlet?
Rather obscurely, it seems that it in order to change language properties I have to first install the accessibility theme and portlet.
I do not see the accessibility theme and portlet in plugin installer searches made with Liferay 6.1. I found various links to these in other places, and was able to find the accessibility portlet on SourceForge. However the only links I can find to the accessibility theme (e.g. http://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6653591) are broken, and I cannot find this on SourceForge. Where is it? Thanks!
I do not see the accessibility theme and portlet in plugin installer searches made with Liferay 6.1. I found various links to these in other places, and was able to find the accessibility portlet on SourceForge. However the only links I can find to the accessibility theme (e.g. http://www.liferay.com/downloads/liferay-portal/community-plugins/-/software_catalog/products/6653591) are broken, and I cannot find this on SourceForge. Where is it? Thanks!
Hi,
Can you please mention what is the relation with language properties and accessibility theme and portlet.?
What you exactly want ? Change language properties or install theme and portlets from plugins repository?
Regards,
Dhrutika
Can you please mention what is the relation with language properties and accessibility theme and portlet.?
What you exactly want ? Change language properties or install theme and portlets from plugins repository?
Regards,
Dhrutika
What I wish to do is to change the translation of a few terms in the Language_*.properties files. I wish to change the portal configuration, not just the configuration for one portlet.
A number of Liferay forum posts say that a change in language properties should be made by defining a hook using the accessibility theme and portlet. Other posts suggest modifying portal-impl.jar. Yet other posts suggest creating a Language-ext.properties file. I'm not clear as to what the best approach is. Thanks...
A number of Liferay forum posts say that a change in language properties should be made by defining a hook using the accessibility theme and portlet. Other posts suggest modifying portal-impl.jar. Yet other posts suggest creating a Language-ext.properties file. I'm not clear as to what the best approach is. Thanks...
Hi Ken,
If you want to change language properties ,best approach is using language-hook.
Place language properties that you want to modify in this hook
You can refer this link to create your language hook: http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/overriding-a-language-properties-file
http://www.liferay.com/community/wiki/-/wiki/Main/Portal+Hook+Plugins
Let me know if you have any issues in creating language hook.
Regards,
Dhrutika
If you want to change language properties ,best approach is using language-hook.
Place language properties that you want to modify in this hook
You can refer this link to create your language hook: http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/overriding-a-language-properties-file
http://www.liferay.com/community/wiki/-/wiki/Main/Portal+Hook+Plugins
Let me know if you have any issues in creating language hook.
Regards,
Dhrutika
If I guess correctly, I should create "webapps/ROOT/WEB-INF/liferay-hook.xml" to make a change for the entire portal. I don't seem to have such a file at the moment. Or perhaps I need to create a hook project with this change?
I also don't have a "content" folder under ROOT in which to place any changed language properties. What is (say) "content/Language_es.properties" relative to: something in a hook project, or relative to ROOT?
Thanks for your patience.
I also don't have a "content" folder under ROOT in which to place any changed language properties. What is (say) "content/Language_es.properties" relative to: something in a hook project, or relative to ROOT?
Thanks for your patience.
Hi Ken,
You need to create hook plugin project for this. Please refer to the link I have mentioned to create langauge-hook.
Using create command under hooks plugin,your hook structure will be created,then you just need to make entries in xml file and place your Language*.properties file.
If you still face any issues,let me know.
Regards,
Dhrutika
You need to create hook plugin project for this. Please refer to the link I have mentioned to create langauge-hook.
Using create command under hooks plugin,your hook structure will be created,then you just need to make entries in xml file and place your Language*.properties file.
If you still face any issues,let me know.
Regards,
Dhrutika
Community
Company
Feedback