Multilingual User Interface (MUI) In SharePoint 2013

1.Language Architecture

  

2.User Interface Elements That Consume User Resources

The SharePoint Foundation object model has six classes that have properties that return an SPUserResource object:

The following table lists the properties that return SPUserResource objects and describes where the resources are consumed.

 

Property

Description

SPContentType.DescriptionResource

The source for the string returned by the SPContentType.Description property, which provides text that describes the content type.

SPContentType.NameResource

The source for the string returned by the SPContentType.Name property, which provides the display name for a content type.

SPField.DescriptionResource

The source for the string returned by the SPField.Description property, which provides text that describes the column.

SPField.TitleResource

The source for the string returned by the SPField.Title property, which provides the display name of the column.

SPList.DescriptionResource

The source for the string returned by the SPList.Description property, which provides text that describes the list.

SPList.TitleResource

The source for the string returned by the SPList.Title property, which provides the display name of the list.

SPNavigationNode.TitleResource

The source for the string returned by the SPNavigationNode.Title property, which provides the display name of a navigation node.

SPUserCustomAction.CommandUIExtensionResource

The source for the string returned by the SPUserCustomAction.CommandUIExtension property, which provides an XML representation of a custom action used on the ribbon.

SPUserCustomAction.DescriptionResource

The source for the string returned by the SPUserCustomAction.Description property, which provides text that describes a site, web, or list-scoped custom control.

SPUserCustomAction.TitleResource

The source for the string returned by the SPUserCustomAction.Title property, which provides display text that describes a site, web, or list-scoped custom control.

SPWeb.DescriptionResource

The source for the string returned by the SPWeb.Description property, which provides the text that describes a website.

SPWeb.TitleResource

The source for the string returned by the SPWeb.Title property, which provides the display name for a website.

Two additional properties return collections of user resources in an SPUserResourceCollection object. The SPList class has a UserResources property that contains SPUserResource objects that have localizable resources that are used by the list and also by fields, content types, and user custom actions that are associated with the list. If none of the display text for these objects has been customized, the UserResources property returns an empty collection. Typically, display text for standard lists such as Announcements and Shared Documents is not customized, and so the UserResources properties for those lists often return empty collections.

The UserResources property of the SPWeb class performs a similar function by returning a collection of SPUserResource objects that have localizable resources that are used by the website and by site columns, content types, navigation nodes, and user custom actions that are associated with the website. The objects that are returned in the collection represent only the display text that has been customized by users (including developers and administrators) of the website.

 

3.Export/Import Translations

  By my testing,it works well at root web,if it's a sub-web,just translating List Title and Navogator

转载于:https://www.cnblogs.com/PeterHome/p/3951239.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值