Question 56
You work for a manufacturer who needs to advertise its catalog of products online using a SharePoint 2010 publishing site. A page author will create a Web page for every type of product the manufacturer makes. Each Web page will display the name of the material the product is made from and a photo of the product. You need to design this site to satisfy the following requirements:
.When the page author creates a new Web page for a product, the author should only be able to choose from a list of five materials.
.The manufacturer’s marketing manager should be able to add to the list of materials at any time without assistance from the IT department.
.Users can choose to view the site in English, German, or Spanish. A user should see the name of the product material in only the language they have selected.
.The URL of the page should remain the same for each type of product regardless of the language the user has selected.
Which approach should you recommend?
A. Create a site column of type "Choice" for English, German, and French, and add the translated list of materials to the site column for each language. Add all three site columns to the page layout. Give the marketing manager permission to edit the Choice site column values for each language.
B. Create a resource file for each language and install the resource file using a SharePoint solution package. Show the marketing manager how to edit the resource file.
C. Use the Managed Metadata Service to create a set of terms used for product materials and translate each term into English, German, and Spanish. Add a site column mapped to the term set to the page layout. Make the marketing manager the term set owner.
D. For each type of product, create three Web pages, one for each language. Give the marketing manager permission to edit all the product Web pages.

解析:
  一家制造商想设计一个Sharepoint发布网站用于在线宣传他们生产的各类产品,页面编辑人员将会为每一类产品创建一个新页面。每一个页面显示产品的图片以及制造它的原材料。网站还需要满足如下要求:
 要求1.将页面编辑人员创建新页面时,它只能从提供5个原料的清单中进行选择。
 要求2.制造商的市场经理可以自行对原料清单进行编辑修改而不需要IT部门的技术支持。
 要求3.网站用户可以选择不同的语种访问网站(英,德,西班牙)。看到的原材料内容也显示为用户所选择的语种。
 要求4.每种产品的页面的URL不会因为语种的选择而改变[也即:你不会为同一类产品的不同语种设计对应的不同的页面]。
  下面来分析各备选项:
 选项A. 明显不支持多语言,它只是把同一材料的所有语言翻译项都打包进同一个列表,用户无法只见到自己的语言版本选项。
 选项B. 此选项市场经理必须借助IT部门的技术支持才能对资源文件进行修改,所以也不满足本题要求。
 选项C. 通过管理元数据服务配合Page Layout,可以达到本题的目标 。
 选项D. 针对同一类产品的每种语言都创建了不同的页面,不符合本题要求保持唯一的URL这个条件。所以也必须排除。
因此本题答案应该选 C

参考 
http://msdn.microsoft.com/en-us/library/ee559337(v=office.14).aspx
http://blogs.msdn.com/b/sharepointdev/archive/2011/07/01/localizing-the-sharepoint-user-interface-by-using-resource-files-sanjay-arora.aspx

Question 57
You are designing a multi-lingual publishing Web site using SharePoint 2010. Administrators have installed language packs for Japanese, Chinese, and Vietnamese on the server. Users whose browser locale is set to Japanese, Chinese, or Vietnamese must be able to navigate to a corresponding language-specific site with as few clicks as possible. Your design needs to ensure that this is accomplished with no custom development. Which approach should you recommend?
A. Create a variation label for Japanese, Chinese, and Vietnamese. For each variation label, create a hierarchy. SharePoint will automatically redirect users to the language-specific site that corresponds to their browser locale.
B. Create a language-specific site for Japanese, Chinese, and Vietnamese. Create a top-level site with a welcome page that contains hyperlinks to the language-specific sites. Allow users to navigate to the language specific site of their choosing.
C. Create a language-specific site for Japanese, Chinese, and Vietnamese. Create an application page that queries that user's browser locale and redirects them to the appropriate language-specific site. Make this page the welcome page for the top-level site.
D. Create a language-specific site for Japanese, Chinese, and Vietnamese. Create a JScript file that queries the user's browser locale and redirects them to the appropriate language-specific site. Add a reference to the JScript file to each master pages used in the site collection.

解析:
  你创建一个支持多语言的Sharepoint2010发布网站,管理员已经安装了支持中,日,越南语的语言包,你需要用户尽可能少的点击就可以使用他们本地语言浏览网站,实现这个要求不需要任何开发编程。
  首先,本题最重要的前提是:创建的是一个”发布”网站。
  其次,我们来了解一下微软关于变体网站的相关知识点:
  Microsoft SharePoint Server 2010 中的变体功能 通过将内容从源变体网站 复制到每个目标变体网站,将内容提供给不同网站上的特定访问群体。用户访问根网站时,系统会基于用户 Web 浏览器的语言设置将用户重定向到适当的变体网站。如果需要,可以在目标变体网站上自定义内容。例如,目标变体网站上的内容可以在发布之前翻译为其他语言。变体只能在使用某个发布网站模板创建的 SharePoint Server 2010 网站或启用了 SharePoint Server 发布基础结构功能的网站上使用【这个前提正好符合本题所要创建的网站】。
  许多组织的业务范围都遍布全球各地。不过,即使在国内市场中,组织也必须满足不同客户群的需求,他们可能使用多种不同的语言,也可能需要获取基于地域差异、不同的移动设备或企业品牌的特定信息。这些类型的组织需要提供定制内容的网站,以适应不同的文化、不同的市场和不同的地理区域。生成和维护网站的变体可能非常困难而且相当耗时。通过使用变体作为 SharePoint Server 2010 解决方案的一部分,网站架构师和网站管理员可以简化生成和维护这些网站的过程。变体功能可自动创建网站和页面,而不必手动为每个所需变体实例创建网站以及所有关联的页面。【这是解决本题问题的基本思路即:不用为每个变体实例创建网站,也正是基于这一点,本题的选项B.C.D均可排除,因为它们都是Create a language-specific site for……】
 
关于变体的元素:
变体功能包含下列元素:
• 变体根网站   变体根网站提供所有源和目标变体网站的 URL,并且包含将用户重定向到正确的变体网站的登陆页面。这与网站集的根网站不同,不过您可以指定将网站集的根网站用作变体层次结构的根网站。
• 变体标签   变体标签是用于命名新变体网站的标识符。网站的变体通过创建变体标签定义,每个规划的变体分别使用一个标签。
• 变体网站   变体网站是基于定义的变体标签创建的网站。有两种类型的变体网站:
o 源变体网站   源变体网站是创作和发布共享内容的网站,同时也是从中将共享内容的副本发送到目标变体网站的网站。一个网站集中只能有一个源变体网站。选择源变体网站后,将不能进行更改。
o 目标变体网站   目标变体网站的大多数内容都是从源变体网站接收的。尽管可以在目标变体网站上创建新内容,但是这些内容不会与其他网站共享,而是在其中创建这些内容的网站所特有的。
• 变体层次结构   变体层次结构是使用所有变体标签表示的整组网站。
• 变体页面   变体页面是存储在源变体网站和目标变体网站的页面库中的已发布页面。这些页面以及任何相关资源(如图像和文档)是从源变体网站复制到目标变体网站的唯一内容。
变体功能可创建网站并将内容从源变体网站复制到一个或多个目标变体网站。默认情况下,变体功能仅复制源变体网站的页面库中的发布页面。变体功能不复制其他网站内容(如列表或其他文档库),这与内容部署功能不同,内容部署功能将包括列表和其他文档库在内的所有内容从一个网站复制到另一个网站。如果已将“资源”选项配置为将资源复制到目标变体网站,则将复制链接的资源,如图像和文档。变体和内容部署之间的另一重要差异是使用变体功能时,目标变体网站上的复制内容可以更改,这与内容部署功能不同,内容部署功能会禁止更改复制的内容。
默认情况下,当用户访问根网站时,系统会基于用户 Web 浏览器的语言设置将用户重定向到适当的变体网站。例如,如果用户的默认浏览器语言为法语,SharePoint Server 2010 会将用户重定向到法语变体网站。可以通过使用其他页面替换默认重定向页面 VariationRoot.aspx 来自定义此行为。此新页面可以实施用于确定用户首选语言、用户设备或不同网站的其他基础设置的逻辑。
 
因此本题答案应该选 A

参考 
http://blogs.msdn.com/b/ecm/archive/2010/04/12/variations-in-sharepoint-2010-connecting-people-with-content.aspx
http://msdn.microsoft.com/en-us/library/ms493894(v=office.14).aspx

Question 58
You work for a product company that sells custom SharePoint 2010 Web Parts to customers. You are designing a Web Part that will be deployed to the Web Part gallery when a feature is activated. The feature must accommodate multiple languages, so that a user will see the name of the feature in the same language that was used to create the site. You need to ensure that your design meets this requirement. Which two approaches would accomplish this goal? (Each correct answer presents a complete solution. Choose two.)
A. For each language, add a new node to the Manifest.xml file. Add the language ID and the localized name of the feature to each node.
B. For each language, add a new node to the Feature.xml file. Add the language ID and the localized name of the feature to each node.
C. Create a resource file for each language. Deploy the .resx files to the 14\Resources folder. Assign the name of the feature a resource token value.
D. Create a resource file for each language. Deploy the .resx files to a folder named Resources inside the feature folder. Assign the name of the feature a resource token value.

解析:
  你所在的公司是一家开发和销售定制Sharepoint2010 Web Part的公司,你负责开发一个Web Part,此Web Part要在功能被激活后部署到Web Part Gallery,此功能必须提供多语言支持,这样不同国家的用户就能看到用本国语言所描述的功能名,你要如何做才能达到希望的效果呢?[两个选项答案]
   本题的实质就是考你关于Web Part的本地化相关知识。
   本地化 是自定义给定区域性或区域设置下的应用程序、网页或网站的过程。
本地化 Web 部件的第一步是向项目中添加语言资源文件。您可以使用您喜欢的任何语言。如使用英语,中文和西班牙语。【所以可以直接排除本题的选项A.B,因为它们都没有采用语言资源文件】
若要查找您的开发网站支持的语言,请在浏览器中打开网站主页。单击“网站操作”,然后单击“网站设置”。在“网站管理”下,单击“语言设置”。默认语言列在页面顶部。备用语言列在默认语言之下。
您必须将创建的资源文件部署到 Web 服务器的文件系统中可由生成显示文本的 Web 部件的所有组件访问的位置,这些组件包括:
1.激活 Web 部件的功能。
2.提供有关 Web 部件库信息的 Web 部件控件说明文件(该链接可能指向英文页面)。
3.在已编译程序集中执行的代码。
您可以采用多种备选方法来在目标 Web 服务器上设置语言资源。最简单的方法和以后可以最灵活地为其他语言添加支持的方法是设置紧接 SharePoint Foundation 安装根之下的 Resources 文件夹中的语言资源文件。Visual Studio 用于此文件夹的标记是 {SharePointRoot}\Resources。完整路径是 %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\Resources。【选项C提到的位置】SharePoint Foundation 将内置 Web 部件所使用的语言资源安装在此文件夹中。
    而选项D则是把语言资源放到Feature内部可以访问到的目录下。
因此本题答案应该选 C.D

参考 
http://msdn.microsoft.com/zh-cn/library/gg491702(v=office.14).aspx
http://msdn.microsoft.com/zh-cn/library/ff955227(v=office.14).aspx

Sharepoint学习笔记—习题系列--70-576习题解析 -(Q56-Q58)的更多相关文章

  1. Sharepoint学习笔记—ECM系列—文档列表的Metedata Navigation与Key Filter功能的实现

    如果一个文档列表中存放了成百上千的文档,想要快速的找到你想要的还真不是件容易的事,Sharepoint提供了Metedata Navigation与Key Filter功能可以帮助我们快速的过滤和定位 ...

  2. Sharepoint学习笔记—ECM系列--文档集(Document Set)的实现

    文档集是 SharePoint Server 2010 中的一项新功能,它使组织能够管理单个可交付文档或工作产品(可包含多个文档或文件).文档集是特殊类型的文件夹,它合并了唯一的文档集属性以及文件夹和 ...

  3. Sharepoint学习笔记—习题系列--70-576习题解析 --索引目录

        Sharepoint学习笔记—习题系列--70-576习题解析  为便于查阅,这里整理并列出了70-576习题解析系列的所有问题,有些内容可能会在以后更新. 需要事先申明的是:     1. ...

  4. Sharepoint学习笔记—习题系列--70-573习题解析 --索引目录

                  Sharepoint学习笔记—习题系列--70-573习题解析 为便于查阅,这里整理并列出了我前面播客中的关于70-573习题解析系列的所有问题,有些内容可能会在以后更新, ...

  5. Deep Learning(深度学习)学习笔记整理系列之(五)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  6. Deep Learning(深度学习)学习笔记整理系列之(八)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  7. Deep Learning(深度学习)学习笔记整理系列之(七)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  8. Deep Learning(深度学习)学习笔记整理系列之(六)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  9. Deep Learning(深度学习)学习笔记整理系列之(四)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  10. Deep Learning(深度学习)学习笔记整理系列之(三)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

随机推荐

  1. Windows Azure Active Directory (1) 前言 - 基于声明的验证和授权

    <Windows Azure Platform 系列文章目录> 在我们介绍整套系统架构之前,我们需要首先定义一些基本的概念. 用户及其属性: 用户值得是要使用某项服务的个体.用户一般都有一 ...

  2. 输入URL之后都发生了什么

    输入URL之后都发生了什么 这个标题印象中已经有很多讨论了.也来说说这个话题. 从头开始,当你的电脑使用网线连接到网络的时候,我们都知道,这个时候你的电脑会获取一个IP,这个IP就是你的唯一标识了.好 ...

  3. 地图定位IOS8.0之前的定位

    在ios8.0之前定位的步骤如下: 1.首先将我们的项目版本切换到7.0

  4. [Server] 搭建发布环境Web Deploy

    在Web Deploy前,实际上完全可以使用FTP方式发布网站. 如果你购买的只是虚拟空间,那FTP方式更广泛. 先来搭建一套FTP吧 添加FTP服务 在网站上添加FTP发布 配置FTP服务 FTP注 ...

  5. ASP.NET MVC网站在opera mobile emulator中浏览

         众所周知,ASP.NET MVC4有一个Moblie Application,我们都可以通过这个来开发手机网站,当然为了简单,也可以在一般的MVC中的View下面加个后缀mobile,形如I ...

  6. 基于MVC4+EasyUI的Web开发框架经验总结(12)--利用Jquery处理数据交互的几种方式

    在基于MVC4+EasyUI的Web开发框架里面,大量采用了Jquery的方法,对数据进行请求或者提交,方便页面和服务器后端进行数据的交互处理.本文主要介绍利用Jquery处理数据交互的几种方式,包括 ...

  7. hibernate----1-N--jointable(人与地址)

    package com.ij34.dao; import java.util.HashMap; import java.util.HashSet; import java.util.Set; impo ...

  8. Mybatis中注解@MapKey的使用

    在研究Mybatis源码之前并不知道这个注解的妙用的,但是当我看到参数解析的时候 有这个一个注解,所以我了解了一下,当我们返回像Map<String, Map<String, Object ...

  9. [javaSE] 反射-方法的反射

    1.如何获取某个方法 方法的名称和方法的参数列表才能唯一决定一个方法 2.方法反射的操作 method.invoke(); package com.tsh.reflect; import java.l ...

  10. php中opendir函数用法实例

    这篇文章主要介绍了php中opendir函数用法,以实例形式详细讲述了opendir函数打开目录的用法及相关的注意事项,具有一定的参考借鉴价值,需要的朋友可以参考下 本文实例分析了php中opendi ...