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. 为网格布局图片打造的超炫 CSS 加载动画

    今天,我想与大家分享一些专门为网格布局的图像制作的很酷的 CSS 加载动画效果.您可以把这些效果用在你的作品集,博客或任何你想要的网页中.设置很简单.我们使用了下面这些工具库来实现这个效果: Norm ...

  2. Hover.css:一组超实用的 CSS3 悬停效果和动画

    Hover.css 是一套基于 CSS3 的鼠标悬停效果和动画,这些可以非常轻松的被应用到按钮.LOGO 以及图片等元素.所有这些效果都是只需要单一的标签,必要的时候使用 before 和 after ...

  3. JS魔法堂:再识ASCII实体、符号实体和字符实体

    一.前言            相信大家都熟悉通过字符实体   来实现多个连续空格的输入吧!本文打算对三类HTML实体及JS相关操作作进一步的整理和小结,若有纰漏请大家指正,谢谢. 二.初识HTML实 ...

  4. 关于IE6中做兼容的那点事。

    前言 对于程序员来说,一听到你做的程序必须兼容IE6(当然主流浏览器肯定得兼容的),那颗滚烫的心瞬间哇凉哇凉的,但是有时,项目就要求这样,你也只能硬着头皮跟IE6来个亲密接触,最近正好做了个项目,关于 ...

  5. JS打印页面指定区域

    错误的写法: //打印 function printPage(areaId) { if (parent.$("#PrinFrame").length == 0) { parent. ...

  6. VB.NET Winform的一些功能实现

    近段时间,开发的需要,需要写一个winform的程序.用VB.NET来写. 开发开始,需要实现一个窗体设为多文档界面 (MDI) 子窗体的容器.实现这个功能,开始找资料,得知设置一个属性:Form.I ...

  7. <textarea>输入框提示文字

    背景 看了过时的资料,花费大把时间,不过也有收获,还是写写吧! 分析 有同学可能想到直接在<textarea>标签内输入帮助文字,但是这又有一个新问题--因为<textarea> ...

  8. 载入条LoadingBar

    这个控件太傻瓜了,只搁在博客里算了.日前需要用到一个载入条, 但不想找GIF图片,.NET里面没有提供这个控件,只有ProgressBar.自己写吧!要写也不难,就是周期性绘制一个长方形,让那个长方形 ...

  9. Java NIO:NIO概述

    Java NIO:NIO概述 在上一篇博文中讲述了几种IO模型,现在我们开始进入Java NIO编程主题.NIO是Java 4里面提供的新的API,目的是用来解决传统IO的问题.本文下面分别从Java ...

  10. UrlRewriter实现.NET的URL重写

    首先下载安装MSDNURLRewriting.msi,链接地址http://pan.baidu.com/s/1c0pRnTu. 在安装目录下找到RewriterTester\bin\URLRewrit ...