修复错误的翻译 [英] Repair wrong translation
本文介绍了修复错误的翻译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在liferay门户中有很多地方,我的语言(sk_SK)的翻译是错误的.有可能用钩子重写那些不好的翻译吗? (欢迎其他任何想法...)
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...)
非常感谢.
推荐答案
是的,你可以做到.
添加要覆盖的语言文件的条目,
就像您的情况Language_sk.properties
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>
您可以从以下位置以Liferay源代码检查此文件
you can check this file in Liferay source code from below location
LiferaySrcFolder\portal-impl\src\content\Language_sk.properties
这篇关于修复错误的翻译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文