Multilingual user interface (Mui) in SharePoint 2013

Source: Internet
Author: User

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:

  • Spcontenttype

  • Spfield

  • Splist

  • Spnavigationnode

  • Spusercustomaction

  • Spweb

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 actim 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

Multilingual user interface (Mui) in SharePoint 2013

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.