安装或卸载用于 SharePoint 2013 的语言包Install or uninstall language packs for SharePoint 2013

适用于:是2013 无 20162019 无SharePoint OnlineAPPLIES TO: yes2013 no2016 no2019 noSharePoint Online

网站所有者和网站集管理员可使用语言包,以多种语言创建 SharePoint 网站和网站集,而无需单独安装 SharePoint 2013。您可以在 Web 服务器和应用程序服务器上安装包含特定语言网站模板的语言包。当管理员基于特定语言网站模板创建网站或网站集时,将用网站模板的语言显示网站或网站集上出现的文本。语言包通常用于跨国部署(其中单个服务器场支持位于不同位置的用户)或必须以一种或多种语言复制网站和网页的情况。Language packs enable site owners and site collection administrators to create SharePoint sites and site collections in multiple languages without requiring separate installations of SharePoint 2013. You install language packs, which contain language-specific site templates, on web and application servers. When an administrator creates a site or a site collection that is based on a language-specific site template, the text that appears on the site or the site collection is displayed in the site template's language. Language packs are typically used in multinational deployments where a single server farm supports users in different locations, or when sites and web pages must be duplicated in one or more languages.

如果用户要访问 SharePoint 场中的 Project Server 2016 并必须用另一种语言查看其项目数据,则他们还必须安装相应的 Project Server 2016 语言包。有关 Project Server 2016 语言包的详细信息,请参阅Deploy language packs in Project Server 2013If users are accessing Project Server 2016 in the SharePoint farm and have to view their project data in another language, they will also have to install a corresponding Project Server 2016 language pack. For more information about Project Server 2016 language packs, see Deploy language packs in Project Server 2013

使用分词系统和词干分析器,可以有效搜索 SharePoint 网站和网站集上用多种语言编写的内容,而无需单独安装 SharePoint 2013。安装程序会自动将分词系统和词干分析器安装在 Web 服务器和应用程序服务器上。Word breakers and stemmers enable you to search efficiently and effectively across content on SharePoint sites and site collections in multiple languages without requiring separate installations of SharePoint 2013. Word breakers and stemmers are automatically installed on web and application servers by Setup.

重要

如果要卸载 SharePoint 2013,则在卸载 SharePoint 2013 之前必须卸载所有语言包。If you are uninstalling SharePoint 2013, you must uninstall all language packs before you uninstall SharePoint 2013.

关于语言 ID 和语言包About language IDs and language packs

当网站所有者或网站集管理员创建网站或网站集时,可以为每个网站或网站集选择一种语言。Site owners or site collection administrators who create sites or site collections can select a language for each site or site collection.

所选择的语言具有语言标识符 (ID)。语言 ID 确定了显示和解释网站或网站集上的文本时所使用的语言。例如,当网站所有者用法语创建网站时,网站的工具栏、导航栏、列表和列标题都将用法语显示。同样,如果网站所有者用阿拉伯语创建网站,则网站的工具栏、导航栏、列表和列标题都将用阿拉伯语显示。此外,网站的从左至右的默认方向将更改为从右至左的方向以正确显示阿拉伯语文本。The language that they select has a language identifier (ID). The language ID determines the language that is used to display and interpret text that is on the site or site collection. For example, when a site owner creates a site in French, the site's toolbars, navigation bars, lists, and column headings appear in French. Similarly, if a site owner creates a site in Arabic, the site's toolbars, navigation bars, lists, and column headings appear in Arabic. In addition, the default left-to-right orientation of the site changes to a right-to-left orientation to correctly display Arabic text.

安装在 Web 服务器和应用程序服务器上的语言包确定您可以用来创建网站或网站集的语言的列表。默认情况下,使用安装 SharePoint 2013 时所使用的语言来创建网站和网站集。例如,如果安装西班牙语版本的 SharePoint 2013,则网站、网站集和网页的默认语言为西班牙语。如果某人需要使用默认的 SharePoint 2013 语言之外的其他语言创建网站、网站集或网页,则您必须在 Web 服务器和应用程序服务器上安装该语言的语言包。例如,如果正在运行法语版本的 SharePoint 2013,且网站所有者希望使用法语、英语和西班牙语创建网站,则您必须在 Web 服务器和应用程序服务器上安装英语语言包和西班牙语语言包。The language packs that are installed on the web and application servers determine the list of available languages that you can use to create a site or site collection. By default, sites and site collections are created in the language in which SharePoint 2013 was installed. For example, if you install the Spanish version of SharePoint 2013, the default language for sites, site collections, and web pages is Spanish. If someone has to create sites, site collections, or web pages in a language other than the default SharePoint 2013 language, you must install the language pack for that language on the web and application servers. For example, if you are running the French version of SharePoint 2013, and a site owner wants to create sites in French, English, and Spanish, you must install the English and Spanish language packs on the web and application servers.

默认情况下,当网站所有者在网站内创建新网页时,该网站将使用语言 ID 指定的语言来显示文本。By default, when a site owner creates a new web page in a site, the site displays text in the language that is specified by the language ID.

语言包未捆绑到多语言安装包中。必须为要支持的每种语言安装特定的语言包。还必须在每台 Web 服务器和应用程序服务器上安装语言包,以确保每台 Web 服务器和应用程序服务器都可用指定的语言显示内容。Language packs are not bundled into multilingual installation packages. You must install a specific language pack for each language that you want to support. Also, language packs must be installed on each web and application server to make sure that each web and application server can display content in the specified language.

重要

无法通过应用不同的特定语言网站模板将现有网站、网站集或网页从一种语言更改为另一种语言。为网站或网站集使用特定语言网站模板之后,网站或网站集将始终采用原始网站模板的语言显示内容。You cannot change an existing site, site collection, or web page from one language to another by applying different language-specific site templates. After you use a language-specific site template for a site or a site collection, the site or site collection always displays content in the language of the original site template.

只为 SharePoint 2013 提供了一组有限的语言包。Only a limited set of language packs are available for SharePoint 2013.

虽然网站所有者为网站指定了语言 ID,但某些用户界面元素(如错误消息、通知和对话框)不会用指定的语言显示。这是因为 SharePoint 2013 依赖于若干支持技术(例如,Microsoft .NET Framework、Microsoft Windows Workflow Foundation、Microsoft ASP.NET 和 SQL Server),而其中的一些技术仅本地化为有限的几种语言。如果用户界面元素由某项支持技术生成,而该技术未本地化为网站所有者为网站指定的语言,则用户界面元素将以英语显示。例如,如果网站所有者用希伯来语创建网站,并且 .NET Framework 组件显示通知消息,则通知消息将不会用希伯来语显示,原因是 .NET Framework 未本地化为希伯来语。当使用除以下语言之外的任何语言创建网站时也会出现这种情况:中文、法语、德语、意大利语、日语、朝鲜语和西班牙语。Although a site owner specifies a language ID for a site, some user interface elements such as error messages, notifications, and dialog boxes do not display in the language that was specified. This is because SharePoint 2013 relies on several supporting technologies — for example, the Microsoft .NET Framework, Microsoft Windows Workflow Foundation, Microsoft ASP.NET, and SQL Server — some of which are localized into only a limited number of languages. If a user interface element is generated by any of the supporting technologies that are not localized into the language that the site owner specified for the site, the user interface element appears in English. For example, if a site owner creates a site in Hebrew, and the .NET Framework component displays a notification message, the notification message will not display in Hebrew because the .NET Framework is not localized into Hebrew. This situation can occur when sites are created in any language except the following: Chinese, French, German, Italian, Japanese, Korean, and Spanish.

您安装的每个语言包都会在 %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\15\LAYOUTS\Locale_ID 下创建一个文件夹,其中包含特定语言的数据。在每个 locale_ID 文件夹中,只能有一个包含在无法找到某个文件时使用的错误信息的 HTML 错误文件。任何时候无法为使用该语言的任何网站找到某个文件时,都会使用此文件。可以通过为每个 Web 应用程序设置 FileNotFoundPage() 属性来指定要使用的文件。Each language pack that you install creates a folder at %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\15\LAYOUTS\Locale_ID that contains language-specific data. In each locale_ID folder, you must have only one HTML error file that contains the error information that is used when a file cannot be found. Anytime a file cannot be found for any site in that language, this file will be used. You can specify the file to use by setting the FileNotFoundPage() for each web application.

在某些情况下,一些文本可能源自初始安装语言,这可能会创造混合语言体验。通常,只有内容创建者或网站所有者才会经历这种混合语言体验,而网站用户则不会有此经历。In some cases, some text might originate from the original installation language, which can create a mixed-language experience. This kind of mixed-language experience is typically seen only by content creators or site owners and is not seen by site users.

下载语言包Downloading language packs

请为要支持的每种语言执行以下步骤。如果您决定下载多种语言,请注意要为每种语言下载具有公用名的唯一文件。因此,确保将每个语言包下载到硬盘上的单独文件夹,以免覆盖其他语言的语言包。Follow these steps for each language that you want to support. If you decide to download more than one language, please be aware that a unique file that has a common name is downloaded for each language. Therefore, make sure that you download each language pack to a separate folder on the hard disk so that you do not overwrite a language pack of a different language.

重要

默认情况下安装英文版 (en-us) 的 Microsoft PowerShell 帮助文件。若有使用与操作系统相同的语言查看这些文件,请安装在安装操作系统时所采用的相同语言的语言包。By default, the Microsoft PowerShell Help files are installed in English (en-us). To view these files in the same language as the operating system, install the language pack for the same language in which the operating system was installed.

可以从下载 SharePoint 2013 的同一位置下载语言包。You can download language packs from the same location where you downloaded SharePoint 2013.

在 Web 服务器和应用程序服务器上安装语言包Installing language packs on the web and application servers

在 Web 服务器和应用程序服务器上安装必需的语言文件之后,可以安装语言包。可以单个下载语言包(对每种受支持的语言下载一个语言包)。如果具有服务器场环境,并且要安装语言包以支持多种语言,则必须在每台 Web 服务器和应用程序服务器上安装语言包。After you install the necessary language files on the web and application servers, you can install the language packs. Language packs are available as individual downloads (one download for each supported language). If you have a server farm environment and you are installing language packs to support multiple languages, you must install the language packs on each web and application server.

重要

语言包将用其本身的语言安装。下面的过程适用于英语语言包。The language pack is installed in its native language. The procedure that follows is for the English language pack.

安装语言包的具体步骤To install a language pack

  1. 确认执行此过程的用户帐户是"安装"用户帐户。有关"安装"用户帐户的信息,请参阅 在 SharePoint Sever 中启动部署管理和服务帐户Verify that the user account that is performing this procedure is the Setup user account. For information about the Setup user account, see Initial deployment administrative and service accounts in SharePoint Server.

  2. 在包含已下载语言包的文件夹中,运行 setup.exe。In the folder where you downloaded the language pack, run setup.exe.

  3. 查看"阅读 Microsoft 软件许可条款"页上的条款,查看各项条款,选中"我接受此协议的条款"复选框,然后单击"继续"。On the Read the Microsoft Software License Terms page, review the terms, select the I accept the terms of this agreement check box, and then click Continue.

  4. 安装向导将运行并安装语言包。The Setup wizard runs and installs the language pack.

  5. 使用默认设置重新运行 SharePoint 产品配置向导。如果在安装语言包之后没有运行 SharePoint 产品配置向导,将无法正确安装语言包。Rerun the SharePoint Products Configuration Wizard by using the default settings. If you do not run the SharePoint Products Configuration Wizard after you install a language pack, the language pack will not be installed correctly.

    SharePoint 产品配置向导以 SharePoint 2013 的基本安装语言运行,而不是以刚安装的语言包的语言运行。The SharePoint Products Configuration Wizard runs in the language of the base installation of SharePoint 2013, not in the language of the language pack that you just installed.

重新运行 SharePoint 2013 配置向导的具体步骤To rerun the SharePoint 2013 Configuration Wizard

  1. 确认执行此过程的用户帐户是“安装”用户帐户。有关“安装”用户帐户的信息,请参阅 在 SharePoint Sever 中启动部署管理和服务帐户Verify that the user account that is performing this procedure is the Setup user account. For information about the Setup user account, see Initial deployment administrative and service accounts in SharePoint Server.

  2. 单击“开始”****,指向“所有程序”****,依次单击“SharePoint 2013”**** 和“SharePoint 2013 产品配置向导”****。Click Start, point to All Programs, click SharePoint 2013, and then click SharePoint 2013 Products Configuration Wizard.

  3. 在“欢迎使用 SharePoint 产品”**** 页上,单击“下一步”****。On the Welcome to SharePoint Products page, click Next.

  4. 在警告您某些服务在配置期间可能需要重新启动的对话框中单击"是"。Click Yes in the dialog box that alerts you that some services might have to be restarted during configuration.

  5. 在"修改服务器场设置"页上,单击"不断开与此服务器场的连接",然后单击"下一步"。On the Modify Server Farm Settings page, click Do not disconnect from this server farm, and then click Next.

  6. 如果“修改 SharePoint 管理中心 Web 管理设置”**** 页出现,不要更改任何默认设置,然后单击“下一步”****。If the Modify SharePoint Central Administration Web Administration Settings page appears, do not change any of the default settings, and then click Next.

  7. 完成"正在完成 SharePoint 产品和技术配置向导"后,单击"下一步"。After you complete the Completing the SharePoint Products and Technologies Configuration Wizard, click Next.

  8. On the Configuration Successful page, click Finish.On the Configuration Successful page, click Finish.

  9. 安装新语言包并重新运行 SharePoint 2013配置向导后,必须先停用然后再重新激活任何特定语言的功能,之后才能使用新语言包。After you install a new language pack and rerun the Rerun the SharePoint 2013 Configuration Wizard, you must deactivate and then reactivate any language-specific features before you use the new language pack.

在安装语言包时,特定语言网站模板将安装在%COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\15\TEMPLATE\ LanguageID 目录中,其中 LanguageID 是所安装语言的语言 ID 号。例如,美国英语语言包将安装到 %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\15\TEMPLATE\1033 目录中。在安装语言包之后,网站所有者和网站集管理员可基于特定语言网站模板来创建网站和网站集,方法是在创建新的 SharePoint 网站或网站集时指定一种语言。When you install language packs, the language-specific site templates are installed in the %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\15\TEMPLATE\ LanguageID directory, where LanguageID is the Language ID number for the language that you are installing. For example, the United States English language pack installs to the %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\15\TEMPLATE\1033 directory. After you install a language pack, site owners and site collection administrators can create sites and site collections based on the language-specific site templates by specifying a language when they are creating a new SharePoint site or site collection.

卸载语言包Uninstalling language packs

如果您不再需要支持已安装语言包的语言,则可以使用控制面板删除此语言包。删除语言包会从计算机中删除特定语言网站模板。所有使用这些特定语言网站模板创建的网站将不再有效(这可能导致许多问题,即 URL 将生成 HTTP 500 - 内部服务器错误页面、布局损坏、默认组合和卸载的语言包)。重新安装此语言包将恢复网站功能。If you no longer have to support a language for which you have installed a language pack, you can remove the language pack by using the Control Panel. Removing a language pack removes the language-specific site templates from the computer. All sites that were created that have those language-specific site templates will no longer work (It could cause many issues that is, the URL will produce a HTTP 500 - Internal server error page, broken layout, mixture of default, and uninstalled language.). Reinstalling the language pack will make the site functional again.

不能删除已安装在服务器上的 SharePoint 2013 版本的语言包。例如,如果运行的是日语版的 SharePoint 2013,则不能卸载针对 SharePoint 2013 的日语语言支持。You cannot remove the language pack for the version of SharePoint 2013 that you have installed on the server. For example, if you are running the Japanese version of SharePoint 2013, you cannot uninstall the Japanese language support for SharePoint 2013.