To modify the language in a SharePoint list template file

Source: Internet
Author: User

When the SharePoint list template is exported, an. stp file is generated, and the language attributes contained in the file are consistent with the site language.

If your import template's Web site is inconsistent with the language of the template, the template can be imported, but it cannot be used in the Create list.

Open this file by 7zip to find a manifest.xml file.

Open the Manifest.xml file, where you can see the <Language> tab. of which: 1033 is English, 2052 is Chinese.

If you want to modify the template's language, you should modify the label directly. The problem is that after the modification, if you put it in an STP file.

=====

STP file should be a compressed file (otherwise 7zip how to open it), what we need to do now is to compress an XML file into the STP.

What is STP exactly a compressed format?

If you try to change the file suffix stp to cab, you will find that the 7zip can still be opened, so this should be a cab compressed file.

Know the compression format, if compression?

Find Microsoft Official website (ref. 2) and discover "theoriginal Cabinet SDK download is no longer available". The official SDK has not been supported. But try typing "makecab/?" on the command line. ", or it can be used.

Next, you use the MakeCab name to compress the file (below is a dummy step).

1. First create a new folder "MyList" and put the modified "manifest.xml" into it.

2. Create a new file "Definition.ddf" (note the file suffix name), open the file, and copy the following code to the file:

; DIAMOND Directive File (. ddf). OPTION EXPLICIT; Generate errors on variable typos. Set cabinetnametemplate=mylist.stp.Set Cabinet= on. Set Compress= on; The files specified below is stored, compressed, in the cabinet file; 30000000.000 manifest.xml

3. On the command line, specify the folder that you just created, and then enter the following command:

makecab/f DEFINITION.DDF

4. When execution is complete, the folder generates the following files:

5. Find the "MYLIST.STP" file in the Disk1 folder, which is what you want.

Reference:

1.http://blogbaris.blogspot.com/2012/05/copy-sharepoint-lists-between-sites.html

2.https://support.microsoft.com/en-us/kb/310618

To modify the language in a SharePoint list template file

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.