Repair wrong translation

杀马特。学长 韩版系。学妹 提交于 2019-12-24 03:27:57

问题


There are a lot of places in liferay portal where translation to my language (sk_SK) is wrong. Is it possible to rewrite those bad translations with hook? (Any other idea is welcomed...)

Thanks a lot.


回答1:


yes you can do it.

in your liferay-hook.xml file add entry for language file which you want to override, like in your case Language_sk.properties

<hook>   
    <language-properties>content/Language_sk.properties</language-properties>    
</hook>

you can check this file in Liferay source code from below location

LiferaySrcFolder\portal-impl\src\content\Language_sk.properties


来源:https://stackoverflow.com/questions/23497831/repair-wrong-translation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!