LinguaPlone 中每种语言的翻译器
我希望在 Plone 中有一个只能翻译 1 种特定语言的小组。这可能吗?如果是,怎么办?
用例是网站中有相当多的语言,并且翻译人员只能翻译其语言。
I want to have a group in Plone that can only translate for 1 specific language. Is this possible? And if yes, how?
Use case is that there are quite a bit of languages in a site, and that the translators can only translate for their language.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
并非没有大量的定制。添加一些代码后,您可以使翻译下拉操作更加智能,以便它们仅向特定组的用户提供特定语言。这可能会给你你需要的东西。
如果你需要安全来匹配,那就更难了。您必须在翻译创建后进行干预(通过代码)才能设置共享。
所以,可能是的。 实用,可能不。
如果这是一个非常高优先级的项目,并且您有可用资源,请与下一代 LinguaPlone 的工作人员联系,并主动提供帮助开发(或资助开发)该功能。这可能是实现这一目标的最佳方式。
Not without very substantial customization. With some code added, you could make the translate drop-down actions smarter, so that they only offered particular languages to users from particular groups. That might give you what you need.
If you need security to match, it would be harder. You'd have to intervene (via code) after translation creation to set sharing.
So, possible yes. Practical, probably not.
If this is a very high priority project, and you have resources available, get in touch with the folks working on the next generation of LinguaPlone, and offer to help develop (or to fund development) for the feature. That might be the very best way to make it happen.
事实上——这并不一定那么难。
通过授予翻译人员在所需语言子文件夹(而不是其他语言子树)中添加和编辑权限,这一切都应该很简单。
自定义的唯一真正需要可能是隐藏菜单中的翻译操作(如果用户没有翻译到菜单的权限)。
Actually — this doesn't have to be so hard.
By granting the translator add and edit permissions in the required language subfolder, and not in the other language subtrees, this should all simply work.
The only real need for customisation might be to hide the translate actions from the menu if the user doesn't have permissions to translate to there.