MOSS How To: Change List/Site Template language

 

hey guys,

It's not a secret that sharepoint can't handle different language templates, so what if you have e.g. a english template which you want to use on a german system!?

Here is a workaround for you:

  • The first thing what you have to do is to save the template on your local computer.
  • Then rename the template.stp into template.cab
  • Extract all files of the *.cab file
  • In the extracted folder you will find an manifest.xml open it with an editor e.g. notepad, textpad
  • replace the current language id with the german one (1031) search the manifest file for the following strings
    • <Language>1033</Language>
    • <Locale>1033</Locale>
    • 1033\STS\
    • Layouts\1033\
    • /_layouts/1033/
  • If it is an site template then you need to replace the following also
    1. en-us with e.g. de-de
  • Save the manifest file with your changes
  • The next step is to create a new *.cab file with the changes you made
  • To do this use the CABARC.exe, you can find an download here
  • Open the command prompt and use the following statement:
    • CABARC.EXE  N "[TemplateFilePath].cab" [FolderIncludingTheManifestFile]"\\*.*\
  • Rename the generated *.cab file into *.stp
  • Upload the new template into an german enviroment
  • And try to create the List or Site with the new template

 

Hope it helps someone.

greets

nadine


Posted Mar 18 2009, 02:37 PM by Nadine Storandt
Filed under: ,

Comments

Adis Jugo wrote re: MOSS How To: Change List/Site Template language
on 03-18-2009 15:11

Hi Nadine, just a tip - since we all "love" CABARC, I suggest using Simplyzip - free tool which can open AND create CAB files. So you can drag and drop your XML files out and into the CAB archive directly.

www.paehl.de/.../simplyzip

Paul wrote re: MOSS How To: Change List/Site Template language
on 04-23-2010 22:37

Thanks - your process worked great to convert a Site Collection Template into 13 additional languages.

Nina wrote re: MOSS How To: Change List/Site Template language
on 02-02-2011 16:50

Hi nadine. When I upload the new .stp file to the template gallery, the language column is empty. I changed the language in the XML to "en-us", as it was "sv" and I needed to change it to english.

Nadine Storandt wrote re: MOSS How To: Change List/Site Template language
on 02-16-2011 12:51

Hi Nina,

sorry for delay your comment was in my spam folder :(

you can't use naming e.g. "en-us" you must use the LCID for the language. For english it is '1033'

hope it fix your problem.

sk wrote re: MOSS How To: Change List/Site Template language
on 01-12-2012 20:56

Thanks a lot your instructions worked for me. I was able to change the language from English to French and upload to SP 2010.

Bilal wrote re: MOSS How To: Change List/Site Template language
on 11-13-2012 11:17

Hi

how to convert SP 2010 wsp langauage, after extracting the cab it shows some xml and folder. if this applies tp SP 2010 what are the steps to this ?

thnx

developers.de is a .Net Community Blog powered by daenet GmbH.