SharePoint Server 中的變化概觀Variations overview in SharePoint Server

摘要︰了解變化,以及在 SharePoint Server 2016、SharePoint Server 2013 或 SharePoint Online 中使用變化來建立多語系網站的優點與案例。Summary: Learn about variations and the benefits and scenarios for using variations to create multilingual sites in SharePoint Server 2016, SharePoint Server 2013, or SharePoint Online.

SharePoint Server 與 SharePoint Online 的變化功能可透過將來源變化網站的內容同步處理到每個目標變化網站,讓不同網站的特定對象都可使用該內容。當使用者造訪根網站時,系統會根據其網頁瀏覽器的語言設定,將使用者重新導向至適合的變化網站。目標變化網站的內容可在發佈前翻譯成其他語言。只有使用其中一個發佈網站範本所建立的網站,或者啟用 SharePoint Server 發佈基礎結構功能的網站,才可使用變化。The variations feature in SharePoint Server and SharePoint Online makes content available to specific audiences on different sites by syncing content from a source variation site to each target variation site. When users visit the root site, they are redirected to the appropriate variation site, based on the language setting of their web browser. Content on a target variation site can be translated into other languages before it is published. Variations can be used only on sites that are created by using one of the Publishing site templates, or on sites for which the SharePoint Server Publishing Infrastructure feature was activated.

本文包含變化功能的概觀,描述變化功能的元素;提供為變化網站建立網站、清單及頁面的概觀;列出變化的部分限制;並描述在 SharePoint Server 中使用變化的案例。本文並未描述要規劃出使用變化的解決方案所牽涉到的工作。如需如何規劃在解決方案中使用變化的資訊,請參閱<在 SharePoint Server 中規劃變化>。本文也未描述如何建立變化標籤與階層。如需如何建立變化網站的資訊,請參閱建立多語言網站This article contains an overview of the variations feature. It describes the elements of the variations feature; provides an overview of site, list, and page creation for variation sites; lists some limitations of variations; and describes scenarios for using variations in SharePoint Server. This article does not describe the tasks that are involved in planning a solution that uses variations. For information about how to plan to use variations in your solution, see Plan for variations in SharePoint Server. This article also does not describe how to create variation labels and hierarchies. For information about how to create a variation site, see Create a multi-language website.

變化的用途與優點Use and benefits of variations

許多企業的觸角已延伸至全球。不過,即使在國內市場,企業仍必須觸及多元的使用者基礎,他們可能說許多不同的語言,或可能必須有基於區域差異性的特定資訊。這些類型的企業需要能夠將配合不同文化、不同市場及不同地理區域的自訂內容傳遞出去的網站。製作及維護網站的不同版本不但困難又費時。透過在 SharePoint Server 2013 解決方案中使用變化功能,網站架構師與網站管理員可簡化製作及維護這些網站的程序。變化功能可將網站、清單及頁面的建立、管理、同步處理及翻譯全部自動化,完全不需要針對每個所需變化的實例,手動建立網站和所有相關的清單與頁面。Many organizations have a global reach. However, even in domestic markets, organizations must reach a diverse user base that might speak many languages or that might have to have specific information that is based on regional differences. These types of organizations need websites that deliver customized content to suit different cultures, different markets, and different geographic regions. Producing and maintaining different versions of a site can be difficult and time-consuming. By using the variations feature as part of a SharePoint Server 2013 solution, site architects and site administrators can simplify the process of producing and maintaining these sites. The variations feature automates the creation, management, synchronization, and translation of sites, lists, and pages, which eliminates having to manually create a site and all associated lists and pages for each instance of a needed variation.

使用變化的案例Scenarios for using variations

您可使用變化為特定語言建立網站、清單及頁面內容。在此案例中,大部分內容是以來源變化網站的語言所撰寫,然後同步處理到部分或所有的目標變化網站,以翻譯成不同語言。例如,內容可能是以英文撰寫,然後同步處理到目標變化網站,以翻譯成德文、法文及西班牙文。You can use variations to create sites, lists, and page content for specific languages. In this scenario, most of the content is authored in the language of the source variation site and synced to some or all of the target variation sites for translation into different languages. For example, the content might be authored in English and be synced to target variation sites for translation into German, French, and Spanish.

您也可使用變化為特定地區設定建立內容。例如,總部在北美的公司可能有針對下列地區設定的目標變化網站︰英文 (美國)、英文 (加拿大)、法文 (加拿大) 及西班牙文 (墨西哥)。大部分的內容以英文 (美國) 撰寫,變化功能會將內容同步處理到目標變化網站。法文 (加拿大) 與西班牙文 (墨西哥) 網站的內容會翻譯成法文與西班牙文,而英文 (加拿大) 的內容會經過編輯以考量到美式英文與加拿大式英文的差異。特定地區設定專屬的其他內容會在所需的目標變化網站上建立。You can also use variations to create content for specific locales. For example, a company based in North America might have target variation sites for the following locales: English (United States), English (Canada), French (Canada), and Spanish (Mexico). Most of the content is authored in English (United States), and the variation feature syncs that content to the target variation sites. Content on the French (Canada) and Spanish (Mexico) site is translated into French and Spanish, whereas content for English (Canada) is edited to account for regional differences in United States and Canadian English. Other content that is unique to a specific locale is created on the target variation sites for which it is needed.

在 SharePoint Server 2010 中,您無法使用變化來建立網站的不同的行動裝置或可用於不同品牌。在 SharePoint Server 2016、 變化僅用於多語系網站。若要建立不同的行動裝置的網站,請使用裝置通道。若要建立使用不同品牌的網站,請使用跨網站發佈功能。規劃跨網站發佈的 SharePoint 伺服器In SharePoint Server 2010, you could use variations to create sites for different mobile devices, or that used different branding. In SharePoint Server 2016, variations is used only for multilingual sites. To create sites for different mobile devices, use Device Channels. To create sites that use different branding, use cross-site publishing. Plan for cross-site publishing in SharePoint Server.

變化的元素Elements of variations

變化功能包含下列元素︰The variations feature consists of the following elements:

  • 變化根網站 變化根網站為所有來源與目標變化網站提供 URL,並包含將使用者重新導向至正確變化網站的登陸頁面。這與網站集合的根網站不同,儘管您可指定網站集合的根網站也是變化階層的根網站。Variation root site The variation root site provides the URL for all source and target variation sites and contains the landing page that redirects users to the correct variation site. This is not the same as the root site of a site collection, although you can specify the root site of a site collection to also be the root site of the variations hierarchy.

  • 變化標籤 變化標籤是命名新變化網站的識別碼。網站的變化是以建立變化標籤所定義,每個規劃的變化都有一個變化標籤。Variation labels A variation label is an identifier that names a new variation site. Variations of a site are defined by creating variation labels, one for each planned variation.

    注意

    [!附註] SharePoint Server 最多可支援 209 個變化標籤。SharePoint Online 最多可支援 50 個變化標籤。SharePoint Server supports up to 209 variation labels. SharePoint Online supports up to 50 variation labels.

  • 變化網站 變化網站是根據所定義變化標籤而建立的網站。變化網站有兩種類型︰Variation sites Variation sites are the sites that are created based on the defined variation labels. There are two types of variation sites:

    • 來源變化網站 來源變化網站是撰寫及發佈共用內容的網站,也是與目標變化網站同步處理共用內容的網站。單一網站集合中只能有一個來源變化網站。選取來源變化網站後就無法變更。Source variation site The source variation site is the site where shared content is authored and published, and it is the site from which the shared content is synced with target variation sites. There can be only one source variation site in a single site collection. After a source variation site is selected, it cannot be changed.

    • 目標變化網站 目標變化網站的內容大部分來自來源變化網站。目標變化網站也可建立新的內容。不過,該內容不會與其他網站同步處理,而是專屬於所建立的網站。Target variation sites The target variation sites receive most of their content from the source variation site. New content can be created on a target variation site. However, that content is not synced with other sites and is unique to the site on which it was created.

  • 變化階層 變化階層是具備所有變化標籤的完整網站集。Variations hierarchy The variations hierarchy is the complete set of sites in all variation labels.

  • 變化清單 變化清單是您指定目標變化標籤以接收清單項目的清單。Variation lists Variation lists are lists for which you specify target variation labels to receive list items.

  • 變化頁面 變化頁面是儲存在來源變化網站與目標變化網站之頁面庫中的發佈頁面。Variation pages Variation pages are the publishing pages that are stored in the Pages library of the source variation site and the target variation sites.

    重要

    [!重要事項] 建議您不要將未發佈頁面新增至使用變化之網站的頁面庫。如此做的話,「變化建立階層工作定義」定時器工作可能會失敗。We recommend that you do not add nonpublishing pages to the Pages library of a site that uses variations. If you do, the Variations Create Hierarchies Job Definition timer job might fail.

了解變化Understanding variations

變化功能會建立網站,並將內容與支援的清單項目,從一個來源變化網站同步處理到一或多個目標變化網站。依據預設,變化功能會同步處理來源變化網站之頁面庫的發佈網頁,以及已設定與特定目標變化網站同步處理的所有清單。The variations feature creates sites and syncs content and supported list items from a source variation site to one or more target variation sites. By default, the variations feature syncs publishing pages from the Pages library of the source variation site, and any lists that are configured to be synced to specific target variation sites.

依據預設,當使用者造訪根網站時,系統會根據其網頁瀏覽器的語言設定,將使用者重新導向至適合的變化網站。例如,如果使用者的預設瀏覽器語言是法文,SharePoint Server 會將該使用者重新導向至法文變化網站。若要自訂此行為,您可以以不同頁面取代預設的重新導向頁面 (VariationRoot.aspx)。此新頁面中可實作邏輯來識別使用者的慣用語言。如需關於如何自訂變化網站重新導向的資訊,請參閱<如何︰自訂變化根登陸邏輯>。By default, when users visit the root site, they are redirected to the appropriate variation site, based on the language setting of their web browser. For example, if a user's default browser language is French, SharePoint Server redirects that user to the French variation site. You can customize this behavior by replacing the default redirection page, VariationRoot.aspx, with a different page. This new page can implement logic that identifies the user's preferred language. For information about how to customize variation sites redirection, see How to: Customize the Variation Root Landing Logic.

變化標籤Variation labels

變化標籤是名稱為變化網站識別碼。您選取一個為變化標籤的來源,代表來源變化網站。其餘的變化標籤是目標標籤中,代表目標變化網站的內容會同步處理。您可以從變化標籤建立變化網站使用的命令會建立階層變化標籤] 頁面。A variation label is an identifier that names a variation site. You select one variation label as the source, which represents the source variation site. The remaining variation labels are the target labels, representing the target variation sites to which content is synced. You create variation sites from variation labels by using the Create Hierarchies command on the Variation Labels page.

一個網站集合只可定義一個變化標籤集 (變化階層)。對應的變化網站可建立於網站集合階層內的任一處。來源變化網站與目標變化網站一律建立為變化根網站的子網站。系統會將造訪變化根網站的使用者重新導向至適合的變化網站。Only one set of variation labels, the variation hierarchy, can be defined for a site collection. The corresponding variation sites can be created anywhere within the site collection hierarchy. The source variation site and the target variation sites are always created as subsites of the variation root site. Users who visit the variation root site are redirected to the appropriate variation site.

下圖提供變化網站階層的範例,並顯示發佈內容如何同步處理到目標變化網站。The following illustration provides an example of a variation site hierarchy, and shows how publishing content is synced to target variation sites.

Planning site variations

根網站 http://contoso.com 上建立了三個變化標籤 "EN"、"FR" 及 "DE"。建立變化階層時,變化根網站的下一層會建立對應的變化網站 ,分別標示為 "EN"、"FR" 及 "DE"。因為網站 "http://contoso.com/EN" 指定為來源變化網站,所以網站 "http://contoso.com/EN" 上撰寫及發佈的清單與頁面會同步處理到目標變化網站︰"http://contoso.com/FR" 與 "http://contoso.com/DE"。Three variation labels, "EN," "FR," and "DE," are created on the root site http://contoso.com. When the variations hierarchy is created, the corresponding variation sites, labeled "EN," "FR," and "DE," are created one level below the variation root site. Because site "http://contoso.com/EN" is specified as the source variation site, lists and pages that are authored and published on site "http://contoso.com/EN" are synced to the target variation sites, "http://contoso.com/FR" and "http://contoso.com/DE."

建立變化標籤時,您會選取要使用的地區設定。地區設定可協助瀏覽器重新導向與區域設定,例如排序順序和行事曆。它不會影響使用者介面的語言。如果前端網頁伺服器安裝了語言套件,您也可為變化網站選取語言。SharePoint Server 的語言設定會決定變化網站上的使用者介面語言。如果未安裝語言套件,將無法使用選取語言的選項,於是變化網站會使用伺服器上 SharePoint Server 安裝的預設語言,無視為變化標籤選取的地區設定。例如,如果使用英文版本安裝 SharePoint Server,且未安裝語言套件,則為日本地區設定建立新的變化標籤時,新變化目標網站的使用者介面會是英文,而非日文。如果要目標變化網站的使用者介面以特定的語言顯示,則應在建立變化網站之前,安裝每個語言的語言套件。如果建立目標變化網站時,無法使用語言套件,仍可建立目標變化網站,然後使用者可透過使用多語系使用者介面,變更網站的其他語言。如需多語系使用者介面的資訊,請參閱<在 SharePoint Server 中規劃多語系網站>。如需安裝語言套件的資訊,請參閱<安裝或解除安裝 SharePoint 2016 的語言套件>。When you create a variation label, you select a locale for it to use. The locale setting assists with browser redirection and regional settings such as sort order and calendar. It does not affect the language of the user interface. If language packs were installed on the front-end web server, you can also select a language for the variation site. The language setting in SharePoint Server determines the language of the user interface on the variation site. If no language packs were installed, the option to select a language is not available, and the variation site uses the default language of the SharePoint Server installation on the server, regardless of the locale that is selected for the variation label. For example, if SharePoint Server was installed by using the English version, and no language packs were installed, when a new variation label is created for the Japanese locale, the user interface for the new variation target site is in English, not Japanese. If you want the user interface of a target variation site to be displayed using a specific language, you should install the language pack for each language before you create the variation sites. If a language pack is not available when a target variation site is created, the target variation site can still be created, and users can change the alternate language for a site by using the multilingual user interface. For information about the multilingual user interface, see Plan for multilingual sites in SharePoint Server. For information about how to install language packs, see Install or uninstall language packs for SharePoint Server 2016.

建立變化階層時,會為每個變化標籤建立導覽字詞組。依據預設,來源變化標籤的字詞組會命名為「變化導覽」。目標變化標籤的字詞組會命名為「變化導覽 ( LabelName)」。例如,如果目標標籤的名稱為 en-ca,該標籤的字詞組將命名為「變化導覽 (en-ca)」。依據預設,當變化功能首次建立某個目標頁面時,目標變化網站上也會建立對應的導覽字詞。匯出頁面進行翻譯時,也會匯出相關的導覽字詞。When you create a variations hierarchy, a navigation term set is created for each variation label. By default, the term set for the source variation label is named Variations Navigation. The term set for a target variation label is named Variations Navigation ( LabelName). For example, if you have a target label named en-ca, the term set for that label will be named Variations Navigation (en-ca). By default, when the variations feature creates a target page for the first time, a corresponding navigation term is also created on the target variation site. When you export a page for translation, its associated navigation term is also exported.

變化設定Variation settings

[變化設定] 頁面包含下列選項:The Variations Settings page contains the following options:

  • 網站、 清單及頁面建立行為會決定是否網站、 清單及頁面來源變化網站上建立自動在目標變化網站上。根據預設,會啟用建立任意位置。如果您啟用選擇性地建立,第一次您同步處理網站、 清單及頁面來源變化網站與目標變化網站,您必須以手動方式達成。在來源變化網站上的項目後續的更新將會根據目標標籤同步處理喜好設定同步處理。Site, List, and Page Creation Behavior Determines whether sites, lists, and pages on the source variation site are created automatically on the target variation sites. By default, Create Everywhere is enabled. If you enable Create Selectively, the first time that you sync sites, lists, and pages from the source variation site to target variation sites, you must do so manually. Subsequent updates to items on the source variation site will be synced based on the target label sync preferences.

  • 重新建立刪除的目標頁面決定是否] 頁面上應重新建立目標變化網站上是否頁面從目標變化網站上,刪除並已重新發佈來源變化網站上的頁面。根據預設,會啟用此選項。如果您停用此選項,刪除的頁面並不重新建立在目標變化網站。例如,請考慮在其中內容的作者會建立頁面不是與目標變化網站相關的來源變化網站的大小寫。不過,因為建立任意位置啟用時,頁面會自動建立目標變化網站與目標標籤內容擁有者稍後會刪除不必要的目標頁面上。內容作者更新 [來源] 頁面的下一次] 頁面上不會重新建立目標變化網站上。Recreate Deleted Target Page Determines whether a page should be re-created on a target variation site if the page was deleted from the target variation site, and the page on the source variation site was republished. By default, this option is enabled. If you disable this option, deleted pages are not re-created on target variation sites. For example, consider the case in which a content author creates a page on the source variation site that is not relevant to a target variation site. However, because Create Everywhere is enabled, the page is created automatically on the target variation site, and the target label content owner later deletes the unwanted target page. The next time that the content author updates the source page, the page will not be re-created on the target variation site.

  • 更新目標頁面網頁組件 決定對來源變化網站上頁面的網頁組件所做的變更,是否也對目標變化網站上的頁面做出同樣的變更。預設會啟用此選項。Update Target Page Web Parts Determines whether changes that were made to Web Parts on pages on a source variation site are also made on pages on target variation sites. By default, this option is enabled.

  • 通知 當建立新頁面或網站時,傳送電子郵件訊息給目標變化網站的目標標籤聯絡人;或當來源變化網站的修訂更新頁面時,傳送電子郵件訊息給指定頁面的連絡人。如果標籤未指定連絡人,則電子郵件訊息會傳送給目標變化網站的歡迎頁面連絡人。預設會啟用此選項。Notification Sends an email message to the contact of the target label of a target variation site when a new page or site is created or to the contact person of the specified page when a page is updated with revisions from the source variation site. If the label does not have a contact, then the email message is sent to the contact of the welcome page of a target variation site. By default, this option is enabled.

如需如何指定變化設定的資訊,請參閱建立多語言網站For information about how to specify variations settings, see Create a multi-language website.

變化計時器工作Variations timer jobs

變化功能使用計時器工作執行工作建立以及傳播網站與頁面。計時器工作執行內 OWSTIMER、 SharePoint server 的 Windows 服務。每個計時器工作有其專屬預設排程時執行工作。您可以變更與在管理中心網站上的 [工作定義] 頁面,執行每個工作的頻率。變化功能會使用下列的計時器工作:The variations feature uses timer jobs to perform tasks such as creating and propagating sites and pages. A timer job runs inside OWSTIMER, a Windows service for SharePoint Server. Each timer job has its own default schedule for when the job runs. You can change the frequency with which each job runs on the Job Definitions page on the Central Administration website. The variations feature uses the following timer jobs:

  • 變化建立階層工作定義 根據變化標籤,透過建立來源變化網站的所有變化網站、清單及頁面,而建立完整的變化階層。根據預設,此計時器工作每小時會執行一次。Variations Create Hierarchies Job Definition Creates a complete variations hierarchy by creating all variation sites, lists, and pages from the source variation site, based on the variation labels. By default, this timer job runs hourly.

  • 變化傳播清單項目工作定義 在設定清單將項目傳送至特定目標變化標籤之後,建立及更新目標變化網站上的清單項目。根據預設,此計時器工作每 15 分鐘會執行一次。Variations Propagate List Items Job Definition Creates and updates list items on target variation sites after a list is configured to send items to specific target variation labels. By default, this timer job runs every 15 minutes.

  • 變化傳播頁面工作定義 在已核准或使用者手動送出來源變化網站上的頁面之後,建立及更新目標變化網站上的頁面。根據預設,此計時器工作每 15 分鐘會執行一次。Variations Propagate Page Job Definition Creates and updates pages on target variation sites after a page on the source variation site is approved or after it is manually submitted by a user. By default, this timer job runs every 15 minutes.

  • 變化傳播網站與清單工作定義會建立變化網站及清單時建立任意位置] 選項已啟用。根據預設,此計時器工作執行每 30 分鐘。Variations Propagate Sites and Lists Job Definition Creates variation sites and lists when the Create Everywhere option is enabled. By default, this timer job runs every 30 minutes.

注意

[!附註] 無法在 SharePoint Online 中設定計時器工作。Timer jobs are not configurable in SharePoint Online.

如需計時器工作的資訊,請參閱<在 SharePoint Server 2016 中檢視計時器工作狀態>。For information about timer jobs, see View timer job status in SharePoint Server 2016.

了解來源變化網站與目標變化網站的建立Understanding source variation and target variation site creation

來源變化網站與目標變化網站一律建立在變化根網站的下一層。每個變化網站的建立都是使用建立變化根目錄所用的相同網站範本。這表示每個變化網站預設都會使用與變化根網站相同的主版頁面。不過,每個變化網站可使用不同的主版頁面、頁面配置及 CSS 檔案。當您想要為不同地區設定不同配置時,這是很有用的。例如,您可為某個語言使用從右至左的配置,而為另一個語言使用從左至右的配置。如需詳細資訊,請參閱 SharePoint 2013 頁面模型概觀 (機器翻譯)。Source variation and target variation sites are always created one level below the variation root site. Each variation site is created by using the same site template that is used to create the variation root site. This means that by default, each variation site will use the same master page as the variation root site. However, each variation site can use separate master pages, page layouts, and CSS files. This is useful when you want to have separate layouts for different locales. For example, you can use a right-to-left layout for one language and a left-to-right layout for another language. For information, see Overview of the SharePoint 2013 page model.

變化階層第一次建立時,只會建立基於已定義變化標籤之清單的網站。如果在階層網站結構中,變化根網站底下有網站,而您要將那些網站包括在每個變化網站的階層網站結構中,就必須在建立變化階層之後,手動在來源變化網站底下建立那些網站的階層結構。依據預設,下次「變化建立階層工作定義」計時器工作執行時,網站只會與當時建立之任何新的目標變化網站同步處理。如需來源變化網站底下的網站如何建立在現有目標變化網站的資訊,請參閱本文稍後的<了解網站、清單及頁面的建立>。When the variations hierarchy is first created, only sites that are based on the list of defined variation labels are created. If the variation root site has sites below it in a hierarchical site structure, and you want to include those sites in the hierarchical site structure of each variation site, you must manually create the hierarchical structure of those sites below the source variation site after you create the variation hierarchy. By default, the next time that the Variations Create Hierarchies Job Definition timer job runs, the sites are synced only to any new target variation sites that are created at that time. For information about how sites below the source variation site are created on existing target variation sites, see Understanding site, list, and page creation later in this article.

先建立變化階層,當您將新的標籤新增至變化階層並再按一下 [變化標籤] 頁面上的 [建立階層之後,新的目標變化網站建立的每個新的標籤。根據預設,如果來源變化網站頁面庫的內容,清單設定為將清單項目傳送至特定的目標變化標籤,或包含其下方的網站中的網站階層這些頁面、 清單、 而建立的網站 」 上所有的新增目標值僅使用變化網站。After the variations hierarchy is first created, when you add a new label to the variations hierarchy and then click Create Hierarchies on the Variation Labels page, a new target variation site is created for each new label. By default, if the source variation site has content in the Pages library, a list that is configured to send list items to specific target variation labels, or contains sites below it in the site hierarchy, those pages, lists, and sites are created on all new target variation sites only.

了解網站、清單及頁面的建立Understanding site, list, and page creation

根據預設,建立於來源變化網站底下的任何網站,以及任何發佈於來源變化網站或在網站階層中來源變化網站底下任何網站的清單與頁面,都會自動與目標變化網站同步處理。支援下列清單類型 (或繼承自這些類型的清單):By default, sites that are created below the source variation site, and lists and pages that are published on the source variation site or on any sites below it in the site hierarchy are automatically synced to the target variation sites. The following list types (or lists that inherit from these types) are supported:

  • 100 - 一般清單100 - Generic list

  • 101 - 文件庫101 - Document library

  • 104 - 宣告清單104 - Announcements list

  • 109 - 圖片庫109 - Picture library

選擇性地建立啟用時,必須手動在所選的目標變化網站上建立任何網站、 清單及頁面。If Create Selectively is enabled, you must manually create any sites, lists, and pages on the selected target variation sites.

本節說明在目標變化網站上建立網站、清單及頁面的方式。This section describes the ways in which sites, lists, and pages are created on target variation sites.

網站建立Site creation

會建立第一次 [變化建立階層工作定義] 計時器工作會執行並從清單中的變化標籤] 只來源變化網站與目標變化網站建立變化階層。建立來源變化網站之後,您可以建立其下方的網站的網站階層中與這些網站再建立現有的目標變化網站上的變化傳播網站與清單工作定義的計時器工作執行下一次。選擇性地建立啟用時,使用網站變化設定」 頁面是下方手動建立一或多個目標變化網站上的 [目前網站的目標變化來源變化網站的任何網站。下一個變化傳播網站與清單工作定義計時器工作執行時指定的目標變化網站上建立新的網站。您可以執行這個任何選擇性地建立已啟用的時間。The first time that the Variations Create Hierarchies Job Definition timer job runs and creates the variations hierarchy from the list of variation labels, only the source variation and target variation sites are created. After the source variation site is created, you can create sites below it in the site hierarchy, and those sites are then created on the existing target variation sites the next time that the Variations Propagate Sites and Lists Job Definition timer job runs. If Create Selectively is enabled, use the Site Variation Settings page on any site that is below the source variation site to manually create a target variation of the current site on one or more target variation sites. The new site is created on the specified target variation site when the next Variations Propagate Sites and Lists Job Definition timer job runs. You can do this any time that Create Selectively is enabled.

注意

[!附註] 建立來源變化網站與目標變化網站時,建立所用的是建立來源標籤時所選範本提供的預設網站定義。沒有自訂網站組態或設定會同步處理到這些新的網站。如果您要來源變化網站與目標變化網站具備自訂網站組態或設定 (例如導覽自訂),就必須在建立變化階層之後,對每個網站進行那些變更。When source variation and target variation sites are created, they are created by using the default site definition provided by the template selected when the source label was created. No custom site configurations or settings are synced to the new sites. If you want the source variation and target variation sites to have custom site configurations or settings, such as navigation customizations, you must make those changes on each site after you create the variations hierarchy.

清單與頁面建立List and page creation

只有當來源變化網站上的清單經過設定,指定應該與其同步處理的目標變化網站時,清單項目才會與變化目標網站同步處理。依據預設,當清單已設定與特定目標變化網站同步處理時,會在下次「變化傳播網站與清單工作定義」計時器工作執行時同步處理。如果已與目標變化網站同步處理的清單新增新的項目,則會在下次「變化傳播清單項目工作定義」計時器工作執行時同步處理。如果建立變化階層之後才新增新的目標變化標籤,則清單將建立在新的目標變化網站上。目標清單預設會啟用內容核准。當新的項目同步處理到目標清單時,必須先經過核准,才能顯示在目標變化網站的「內容查詢網頁組件」中。List items are synced to variation target sites only when the list on the source variation site is configured to specify the target variation sites to which they should be synced. By default, when a list is configured to be synced to specific target variation sites, it is synced when the next Variations Propagate Sites and Lists Job Definition timer job runs. If a new item is added to a list that has already been synced to target variation sites, it is synced when the next Variations Propagate List Items Job Definition timer job runs. If a new target variation label is added after the variations hierarchy is created, the list will be created on the new target variation site. By default, content approval is enabled on target lists. When a new item is synced to a target list, it must be approved before it will appear in a Content Query Web Part on the target variation site.

注意

[!附註] 雖然您可指定個別頁面要與特定目標標籤同步處理,但無法同步處理個別清單項目。您只可指定完整清單與特定目標標籤同步處理。Although you can specify individual pages that you want to sync to specific target labels, you cannot sync individual list items. You can only specify a complete list to sync to specific target labels.

如果來源變化網站建立時,頁面或來源變化網站上,選取 [發佈網站範本其下方網站階層中的任何網站必須發行之前合格要同步處理到目標變化網站。如果選取了 [發佈網站與工作流程範本,必須核准頁面出版物使用發佈的工作流程之前合格要同步處理到目標變化網站。根據預設,發佈或如果它會使用工作流程核准發佈新頁面之後它是同步處理至所有目標變化網站的下一個變化傳播頁面工作定義計時器工作執行時。如果] 頁面上先前已發佈和已變更與重新發佈在來源變化網站上,以及目標標籤已選取 [自動更新目標變化頁面的設定] 頁面上會同步處理至所有目標變化網站情況下一步]變化傳播頁面工作定義計時器工作執行。If the Publishing Site template was selected when the source variation site was created, pages on the source variation site or on any site below it in the site hierarchy must be published before they are eligible to be synced to target variation sites. If the Publishing Site with Workflow template was selected, pages must be approved for publication by using the publishing workflow before they are eligible to be synced to target variation sites. By default, after a new page is published or approved for publication, if it uses workflows, it is synced to all target variation sites when the next Variations Propagate Page Job Definition timer job runs. If the page was published previously and is changed and republished on the source variation site, and the Automatically update target variation pages setting is selected for the target labels, the page is synced to all target variation sites when the next Variations Propagate Page Job Definition timer job runs.

注意

在目標變化網站,同步處理來自來源變化網站的頁面一律指派次要版本號碼。如果目標網站的新功能] 頁面上,而且會指定版本 0.1。如果目標變化網站上已存在] 頁面上,同步處理] 頁面上已指派下一個可用的次要版本號碼。例如,如果目標變化網站發生 2.1 版] 頁面上的,該頁面的新變化目標網站同步處理] 頁面上變成版本 2.2。頁面及其他資源,例如圖像核准在來源變化網站發佈的同步處理至設定為草稿、 其核准狀態與目標變化網站與他們必須之前可加以核准檢視網站的讀取者。On target variation sites, a page that is synced from the source variation site is always assigned a minor version number. If the page is new to the target site, it is assigned version 0.1. If the page already exists on the target variation site, the synced page is assigned the next available minor version number. For example, if a target variation site has version 2.1 of a page and a new variation of that page is synced to the target site, the page becomes version 2.2. Pages and additional resources, such as images that are approved for publishing on the source variation site, are synced to the target variation site together with their Approval status set to Draft, and they must be approved before they can be viewed by readers of the site.

選擇性地建立啟用時,使用者必須在來源變化網站] 頁面的 [發佈] 索引標籤上的 [變化] 群組中使用的命令會建立新的目標建立特定的變化標籤的頁面。下一個變化傳播頁面工作定義計時器工作執行時,新頁面同步處理到一或多個目標變化網站。如果] 頁面上先前已發佈和已變更及重新發佈來源變化網站上,其同步處理只到指定的目標變化網站的下一個變化傳播頁面工作定義計時器工作執行時。如需如何建立選擇性地啟用變化頁面的資訊,請參閱建立多語言網站If Create Selectively is enabled, a user must create the page for a specific variation label by using the Create new targets command in the Variations group on the Publish tab of the page on the source variation site. The new page is synced to one or more target variation sites when the next Variations Propagate Page Job Definition timer job runs. If the page was published previously and is changed and republished on the source variation site, it is synced only to the specified target variation site when the next Variations Propagate Page Job Definition timer job runs. For information about how to enable Create Selectively for variation pages, see Create a multi-language website.

根據預設,已從來源變化網站同步處理] 頁面上刪除時從目標變化網站,該頁面重新建立目標變化網站上發佈來源變化網站的下一個時間而在下一次的變化傳播頁面工作定義計時器工作執行。停用重新建立刪除的目標頁面時,如果已刪除的頁面並不重新建立在目標變化網站。By default, when a page that was synced from the source variation site is deleted from a target variation site, that page is re-created on the target variation site the next time that it is published on the source variation site and the next time that the Variations Propagate Page Job Definition timer job runs. If Recreate Deleted Target Page is disabled, deleted pages are not re-created on the target variation sites.

如需如何建立變化來源頁面及使用變化目標頁面上內容的資訊,請參閱建立多語言網站For information about how to create variation source pages and how to work with content on variation target pages, see Create a multi-language website.

變化的限制Limitations of variations

下列清單包含 SharePoint Server 中變化功能之限制的相關資訊︰The following list contains information about the limitations of the variations feature in SharePoint Server:

  • 變化功能為單層階層。 來源變化網站與目標變化網站存在於網站階層的同一層上,變化根網站的下一層。不過,每個網站集合只能有一個來源變化網站。網站不能同時是來源網站又是目標網站。您可將一個來源變化網站的內容同步處理到一或多個目標變化網站,但無法將一個目標變化網站的內容同步處理到另一個目標變化網站。例如,如果您有一個英文 (美國) 來源變化網站,以及一個法文 (法國) 目標變化網站,其下有一個法文 (加拿大) 網站,變化功能只會將英文 (美國) 來源變化網站的內容同步處理到法文 (法國) 目標變化網站。變化功能無法也將法文目標變化網站的內容同步處理到其下的法文 (加拿大) 網站。Variations feature is a single-tier hierarchy. The source and target variation sites exist at the same level within the site hierarchy, one level down from the variations root site. However, you can have only one source variation site per site collection. A site cannot be both a source and a target site. You can sync content from a source variation site to one or more target variation sites, but you cannot sync content from one target variation site to another target variation site. For example, if you have a source variation site in English (United States), and a target variation site in French (France), which has a French (Canada) site below it, the variations feature will only sync content from the English (United States) source variation site to the French (France) target variation site. The variations feature cannot also sync content from the French target variation site to the French (Canada) site below it.

    您可使用變化搭配跨網站發佈,以將一個變化網站的內容重複使用在另一個變化網站的內容中。例如,您可將法文 (法國) 網站的內容重複使用在法文 (加拿大) 網站上。You can use variations together with cross-site publishing to reuse content from one variation site in the context of another variation site. For example, you could reuse content from the French (France) site on the French (Canada) site.

    如需詳細資訊,請參閱<規劃 SharePoint Server 跨網站發佈的邏輯架構>。For more information, see Plan the logical architecture for cross-site publishing in SharePoint Server.

  • 內容同步處理為單向。 變化功能會將一個來源變化網站的內容同步處理到一或多個目標變化網站。您無法使用變化功能將目標變化網站的內容重新同步回到來源變化網站。而且,目標變化網站也無法將內容同步處理到其他目標變化網站。Content syncing is unidirectional. The variations feature syncs content from a source variation site to one or more target variation sites. You cannot use the variations feature to sync content from a target variation site back to a source variation site. Also, target variation sites cannot sync content to other target variation sites.

另請參閱See also

概念Concepts

在 SharePoint Server 中規劃變化Plan for variations in SharePoint Server