实施多语言 umbraco 3.0 时遇到问题

发布于 2024-07-15 02:40:02 字数 26 浏览 5 评论 0原文

如何实施多语言umbraco 3.0?

How to implement the multilingual umbraco 3.0?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

单身情人 2024-07-22 02:40:02

对此有两种不同的方法。

Umbraco 网站上的文档描述了如何建立 1:1 多语言网站。 这意味着您在单个文档类型中为内容的每种翻译拥有一个网站结构和不同的语言选项卡。 然后通过使用网站上的页面选择器(标志图标等)来选择它。
这是 1:1 网站的示例

如果您有很多共享内容,即内容和结构完全相同,只是语言不同。

第二种方法是为每种语言使用单独的页面结构,例如:

国际主页

------> 英文主页

------------> 英文内容页

------> 法语主页

------------> 法语内容页面

这种结构的优点是非常容易设置,但如果您共享大量内容,管理起来可能会很麻烦。 它还具有的优点是您可以锁定特定于国家/语言的编辑器的编辑权限。

通过上述结构,您还可以将各个 URL 指向国家/地区页面。

如果不更多地了解您的具体需求是什么,就很难更全面地回答哪种方法是最好的。 也可以创建混合解决方案。

以下是一些可能有帮助的链接:

http://forum.umbraco.org/ yaf_postst2209_Multilingual-struct-in-umbraco.aspx

http://www.nibble.be/ ?p=32

There are two different approaches to this.

The documentation on the Umbraco website describes how to do 1:1 multingual sites. This means that you have one site structure and different language tabs in a single document type for each translation od the content. This is then selected by using an on page selector on the website (a flag icon or the like).
Here's an example of a 1:1 site

This is the most efficient set up if you have lots of shared content i.e. the content and structure is exactly the same, the language is just different.

The second approach is to use separate page structures for each language, such as:

International Homepage

------> English Homepage

------------> English content page

------> French Homepage

------------> French content page

The advantage of this structure is that it is very easy to set up, but if you share lots of content it can be cumbersome to manage. It also has the advantage that you can lock the editing permissions down for country/language specific editors.

With the above structure you can also point individual URLs to the country pages.

Without knowing more about what exactly your requirements are it's hard to answer more fully as to which is the best approach. It may also be possible to create a hybrid solution.

Here are some links which may help:

http://forum.umbraco.org/yaf_postst2209_Multilingual-structure-in-umbraco.aspx

http://www.nibble.be/?p=32

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文