Joomla:文章的替代内容
我刚刚开始开发现有的 Joomla!站点,并且需要添加文章的替代语言版本。请注意,这不是完全国际化的工作 - 我们不需要翻译界面的每个部分 - 只需要文章的另一个“版本”。但理想情况下,这不仅仅包括核心内容 - 例如标题。我真的不想创建第二篇文章,因为从本质上讲,这实际上只是一篇文章,而且我不希望像评论这样的内容被分成两篇单独的文章。
有谁知道这是否可以使用 joomla core 来完成?
如果没有,谁能推荐一个可以做到这一点的现有组件?
I've just started work on an existing Joomla! site, and have a requirement to add an alternative language version of an article. Note that this isn't a full-internationalization effort - we don't need every part of the interface translated - just the need to have another 'version' of an article. Ideally, though, this would include more than just the core content - for example, title. I don't really want to create a second article because, in essence, this really is just a single article, and I don't want things like comments to be split between two separate articles.
Does anyone know if this can be done using joomla core?
If not, can anyone recommend an existing component that will do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Joomla 1.5 中管理翻译的一个很好的组件是 Joom!fish。它允许您进行整个国际化,正如您所说,这并不完全是您想要做的。不过我喜欢从长远来看,所以如果有更多的改变,我不必因为我以前没有想过而一次又一次地重组。因此,如果我是你,我无论如何都会使用 Joom!fish。
A good component for manage translations in Joomla 1.5 is Joom!fish. It allows you to do a whole internationalization that, as you said, isn't exactly what you want to do. However I like to think in the long run so, if there's more change, I have not to restructure again and again just because of I haven't thought it before. Hence, if I were you, I would like to use Joom!fish anyway.
好吧,作为一个简短的修复 - 谷歌翻译可以工作并且可以安装到您正在使用的模板中。
然后,您可以将其设置为隐藏,除非用户浏览器设置为默认使用不同的语言 - 然后会出现一个小弹出框,要求使用谷歌翻译进行翻译。
如果这不是您正在寻找的选项 - joom!fish 是一个其他人都赞不绝口的好组件,但我个人没有太多经验。除此之外我不太确定。
Well, as a short fix - Google Translator works and can be installed into your template you're using.
Then you can set it to be hidden unless the users browser is set to use a different language as default - then a small pop-up box drops down and it asks to translate it using google translate.
If that's not the option you're looking for - joom!fish is a good component others rave about but I don't have much experience with personally. Outside of that I'm not really sure.
汉尼有一个好主意,在具有正确扩展的文章中非常容易实现。您可以使用此扩展 -
http://www.nonumber.nl/extensions/tabber
这将允许您轻松创建选项卡,并在任何地方都可以使用翻译。上面的页面使用扩展来显示选项卡,实现起来很简单。
Hanny had a good idea that would be really easy to implement in an article with the right extension. You can use this extension -
http://www.nonumber.nl/extensions/tabber
This would allow you to easily create tabs with the translations available anywhere you have them. The page above uses the extension to display the tabs, it would be trivial to implement.