Modifiable DWP Properties for Localization

NOTE: This topic only applies to releases of the Workplace Suite prior to the Summer 2005 release.  As of the Summer 2005 release, the Localization tab on the administration interface for each navigation web part allows you to make all of the localization changes described below. As a result, the Summer 2005 and later releases do not support manual modification of DWP properties for localization.

CorasWorks web parts have a number of properties that can only be modified by manually editing the DWP file associated with this web part. The properties described here relate specifically to localization. You can edit a DWP file by exporting the web part to a location of your choice, making the desired changes, and then uploading it back onto your site.

The properties described here allow you to change the function and display of the web part. Please keep in mind the XML namespace of the web part you are changing, or these properties will not be enabled within the web part.  XML namespaces for all CorasWorks web parts are provided in the For Developers help topic.

Also note that some of these properties some may require the use of a "<", ">", or "&" symbol. With the exception of the LCIDXML property, you must replace these characters with their encoded equivalents of "&lt;", "&gt;", and "&amp;" respectively.

These properties are only viewable in the DWP if the default settings have been changed.

 

LCIDXML (String)

This property allows you to localize the user interface. The easiest way to use this property is to follow these steps:

1.  Copy the sample code below into Notepad and make the appropriate translations to the content between each tag.

2.  Remove all of the carriage returns and replace any double quotes (“) with single quotes (‘). Make sure there aren’t any brackets ([ ]) anywhere in the text. If there are, replace them with parentheses ( ). The XML nodes must appear in the exact order as they are shown below; you can not omit nodes or reorder them.

3.  Export the web part you want to localize and add this: <LCIDXML xmlns="webpart_namespace"><![CDATA[]]></LCIDXML>  (where "webpart_namespace" is the web part name identified in the .chm file included in the Developer and Small Business editions of the Suite)
For example: <LCIDXML  xmlns="CorasWSC.WorkPlace.View"><![CDATA[]]></LCIDXML>

4.  Copy the modified LCIDXML content from Step 2 and place it after the opening bracket after CDATA.

5.  Save the localized web part and import it into your site. CorasWorks recommends that you use a naming convention that makes it clear which language(s) are supported by the web part.

Sample Code:
 <CorasWorks>
  <WorkplaceViewAdvanced id='default'>
  <PlusImageName>/_layouts/images/plus.gif</PlusImageName>
  <MinusImageName>/_layouts/images/minus.gif</MinusImageName>
  <STSDefaultImageName>/_layouts/images/stsicon.gif</STSDefaultImageName>
  <STSImageName>/_layouts/images/stsicon.gif</STSImageName>
  <MPSImageName>/_layouts/images/mngatt.gif</MPSImageName>
  <SMImageName>/_layouts/images/itfl.gif</SMImageName>
  <SMTitle>Self Management</SMTitle>
  <SMMIImageName>/_layouts/images/msmeml.gif</SMMIImageName>
  <SMMIURL>/_layouts/1033/useredit.aspx</SMMIURL>
  <SMMITitle>My Information</SMMITitle>
  <SMMAImageName>/_layouts/images/ittxtbox.gif</SMMAImageName>
  <SMMAURL>/_layouts/1033/MySubs.aspx</SMMAURL>
  <SMMATitle>My Alerts</SMMATitle>
  <SMMPImageName>/_layouts/images/itissl.gif</SMMPImageName>
  <SMMPURL>/_layouts/1033/password.aspx</SMMPURL>
  <SMMPTitle>My Password</SMMPTitle>
  <ADImageName>/_layouts/images/itfl.gif</ADImageName>
  <ADTitle>Administration</ADTitle>
  <ADSAImageName>/_layouts/images/icmanage.gif</ADSAImageName>
  <ADSATitle>Security Administration</ADSATitle>
  <ADSAMPIURL>/_layouts/1033/webperm.aspx</ADSAMPIURL>
  <ADSAMPITitle>Manage Permission Inheritance</ADSAMPITitle>
  <ADSAMUURL>/_layouts/1033/user.aspx</ADSAMUURL>
  <ADSAMUTitle>Manage Users</ADSAMUTitle>
  <ADSAMSGURL>/_layouts/1033/role.aspx</ADSAMSGURL>
  <ADSAMSGTitle>Manage Site Groups</ADSAMSGTitle>
  <ADSAMAAURL>/_layouts/1033/setanon.aspx</ADSAMAAURL>
  <ADSAMAATitle>Manage Anonymous Access</ADSAMAATitle>
  <ADSAMXSGURL>/_layouts/1033/mygrps.aspx</ADSAMXSGURL>
  <ADSAMXSGTitle>Manage X-Site Groups</ADSAMXSGTitle>
  <ADSAVIAUURL>/_layouts/1033/userinfo.aspx</ADSAVIAUURL>
  <ADSAVIAUTitle>View Info About Users</ADSAVIAUTitle>
  <ADSTAImageName>/_layouts/images/mscntvwl.gif</ADSTAImageName>
  <ADSTAURL>/_layouts/1033/settings.aspx</ADSTAURL>
  <ADSTATitle>Site Administration</ADSTATitle>
  <ADSTAMTDURL>/_layouts/1033/prjsetng.aspx</ADSTAMTDURL>
  <ADSTAMTDTitle>Modify Title/Description</ADSTAMTDTitle>
  <ADSTACSURL>/_layouts/1033/newsbweb.aspx</ADSTACSURL>
  <ADSTACSTitle>Create a Site</ADSTACSTitle>
  <ADSTADCSURL>/_layouts/1033/deleteweb.aspx</ADSTADCSURL>
  <ADSTADCSTile>Delete Current Site</ADSTADCSTile>
  <ADSTASSATURL>/_layouts/1033/savetmpl.aspx</ADSTASSATURL>
  <ADSTASSATTitle>Save Site as a Template</ADSTASSATTitle>
  <ADSTAMWDURL>/_layouts/1033/mngdisc.aspx</ADSTAMWDURL>
  <ADSTAMWDTitle>Manage Web Discussions</ADSTAMWDTitle>
  <ADSTAMUAURL>/_layouts/1033/SiteSubs.aspx</ADSTAMUAURL>
  <ADSTAMUATitle>Manage User Alerts</ADSTAMUATitle>
  <ADSTAMRSURL>/_layouts/1033/regionalsetng.aspx</ADSTAMRSURL>
  <ADSTAMRSTitle>Modify Regional Settings</ADSTAMRSTitle>
  <ADSCATImageName>/_layouts/images/msxmll.gif</ADSCATImageName>
  <ADSCATTitle>Site Catalogs</ADSCATTitle>
  <ADSCATSTURL>/_catalogs/wt/Forms/Common.aspx</ADSCATSTURL>
  <ADSCATSTTitle>Site Templates</ADSCATSTTitle>
  <ADSCATLTURL>/_catalogs/lt/Forms/AllItems.aspx</ADSCATLTURL>
  <ADSCATLTTitle>List Templates</ADSCATLTTitle>
  <ADSCATWPURL>/_catalogs/wp/Forms/AllItems.aspx</ADSCATWPURL>
  <ADSCATWPTitle>Web Parts</ADSCATWPTitle>
  <ADSCOLImageName>/_layouts/images/mscontl.gif</ADSCOLImageName>
  <ADSCOLTitle>Site Collection</ADSCOLTitle>
  <ADSCOLSHURL>/_layouts/1033/vsubwebs.aspx</ADSCOLSHURL>
  <ADSCOLSHTitle>Site Hierarchy</ADSCOLSHTitle>
  <ADSCOLSSURL>/_layouts/1033/storman.aspx</ADSCOLSSURL>
  <ADSCOLSSTitle>Storage Space</ADSCOLSSTitle>
  <ADSCOLPCURL>/_layouts/1033/portal.aspx</ADSCOLPCURL>
  <ADSCOLPCTitle>Portal Connections</ADSCOLPCTitle>
  <LSTImageName>/_layouts/images/itfl.gif</LSTImageName>
  <LSTTitle>Lists</LSTTitle>
  <LSTCLImageName>/_layouts/images/itobject.gif</LSTCLImageName>
  <LSTCLURL>/_layouts/1033/create.aspx</LSTCLURL>
  <LSTCLTitle>Create List</LSTCLTitle>
  <LSTDefaultImageName>/_layouts/images/itgen.gif</LSTDefaultImageName>
  <LSTDLImageName>/_layouts/images/itdl.gif</LSTDLImageName>
  <LSTDLPLImageName>/_layouts/images/itil.gif</LSTDLPLImageName>
  <LSTANImageName>/_layouts/images/itann.gif</LSTANImageName>
  <LSTCNImageName>/_layouts/images/itcontct.gif</LSTCNImageName>
  <LSTEVImageName>/_layouts/images/itevent.gif</LSTEVImageName>
  <LSTSRImageName>/_layouts/images/itsurvey.gif</LSTSRImageName>
  <LSTLNImageName>/_layouts/images/itlink.gif</LSTLNImageName>
  <LSTTSImageName>/_layouts/images/ittask.gif</LSTTSImageName>
  <LSTDBImageName>/_layouts/images/itdisc.gif</LSTDBImageName>
  <LSTITImageName>/_layouts/images/itissue.gif</LSTITImageName>
  <ADSTACSMYURL>/_layouts/1033/scsignup.aspx</ADSTACSMYURL>
  </WorkplaceViewAdvanced>
  <WorkplaceViewAdvanced id='1031'>
  <PlusImageName>/_layouts/images/plus.gif</PlusImageName>
  <MinusImageName>/_layouts/images/minus.gif</MinusImageName>
  <STSDefaultImageName>/_layouts/images/stsicon.gif</STSDefaultImageName>
  <STSImageName>/_layouts/images/stsicon.gif</STSImageName>
  <MPSImageName>/_layouts/images/mngatt.gif</MPSImageName>
  <SMImageName>/_layouts/images/itfl.gif</SMImageName>
  <SMTitle>Selbstverwaltung</SMTitle>
  <SMMIImageName>/_layouts/images/msmeml.gif</SMMIImageName>
  <SMMIURL>/_layouts/1031/useredit.aspx</SMMIURL>
  <SMMITitle>Meine Informationen</SMMITitle>
  <SMMAImageName>/_layouts/images/ittxtbox.gif</SMMAImageName>
  <SMMAURL>/_layouts/1031/MySubs.aspx</SMMAURL>
  <SMMATitle>Meine Benachrichtigungen</SMMATitle>
  <SMMPImageName>/_layouts/images/itissl.gif</SMMPImageName>
  <SMMPURL>/_layouts/1031/password.aspx</SMMPURL>
  <SMMPTitle>Meine Kennwort</SMMPTitle>
  <ADImageName>/_layouts/images/itfl.gif</ADImageName>
  <ADTitle>Administration</ADTitle>
  <ADSAImageName>/_layouts/images/icmanage.gif</ADSAImageName>
  <ADSATitle>Sicherheitsadministration</ADSATitle>
  <ADSAMPIURL>/_layouts/1031/webperm.aspx</ADSAMPIURL>
  <ADSAMPITitle>Websiteberechtigungsvererbung verwalten</ADSAMPITitle>
  <ADSAMUURL>/_layouts/1031/user.aspx</ADSAMUURL>
  <ADSAMUTitle>Benutzer verwalten</ADSAMUTitle>
  <ADSAMSGURL>/_layouts/1031/role.aspx</ADSAMSGURL>
  <ADSAMSGTitle>Websitegruppen verwalten</ADSAMSGTitle>
  <ADSAMAAURL>/_layouts/1031/setanon.aspx</ADSAMAAURL>
  <ADSAMAATitle>Anonymen Zugriff verwalten</ADSAMAATitle>
  <ADSAMXSGURL>/_layouts/1031/mygrps.aspx</ADSAMXSGURL>
  <ADSAMXSGTitle>Websiteübergreifende Gruppen verwalten</ADSAMXSGTitle>
  <ADSAVIAUURL>/_layouts/1031/userinfo.aspx</ADSAVIAUURL>
  <ADSAVIAUTitle>Benutzerinformationen</ADSAVIAUTitle>
  <ADSTAImageName>/_layouts/images/mscntvwl.gif</ADSTAImageName>
  <ADSTAURL>/_layouts/1031/settings.aspx</ADSTAURL>
  <ADSTATitle>Websiteverwaltung</ADSTATitle>
  <ADSTAMTDURL>/_layouts/1031/prjsetng.aspx</ADSTAMTDURL>
  <ADSTAMTDTitle>Websitetitel und -beschreibung ändern</ADSTAMTDTitle>
  <ADSTACSURL>/_layouts/1031/newsbweb.aspx</ADSTACSURL>
  <ADSTACSTitle>Neue Site erstellen</ADSTACSTitle>
  <ADSTADCSURL>/_layouts/1031/deleteweb.aspx</ADSTADCSURL>
  <ADSTADCSTile>Aktuelle Site löschen</ADSTADCSTile>
  <ADSTASSATURL>/_layouts/1031/savetmpl.aspx</ADSTASSATURL>
  <ADSTASSATTitle>Site als Vorlage spreichern</ADSTASSATTitle>
  <ADSTAMWDURL>/_layouts/1031/mngdisc.aspx</ADSTAMWDURL>
  <ADSTAMWDTitle>Webdiskussionen verwalten</ADSTAMWDTitle>
  <ADSTAMUAURL>/_layouts/1031/SiteSubs.aspx</ADSTAMUAURL>
  <ADSTAMUATitle>Benutzerbenachrichtigungen</ADSTAMUATitle>
  <ADSTAMRSURL>/_layouts/1031/regionalsetng.aspx</ADSTAMRSURL>
  <ADSTAMRSTitle>Landes-/-Regionaleinstellungen</ADSTAMRSTitle>
  <ADSCATImageName>/_layouts/images/msxmll.gif</ADSCATImageName>
  <ADSCATTitle>Websitesammlungskataloge</ADSCATTitle>
  <ADSCATSTURL>/_catalogs/wt/Forms/Common.aspx</ADSCATSTURL>
  <ADSCATSTTitle>Websitevorlagenkatalog</ADSCATSTTitle>
  <ADSCATLTURL>/_catalogs/lt/Forms/AllItems.aspx</ADSCATLTURL>
  <ADSCATLTTitle>Listenvorlagenkatalog</ADSCATLTTitle>
  <ADSCATWPURL>/_catalogs/wp/Forms/AllItems.aspx</ADSCATWPURL>
  <ADSCATWPTitle>Webpartkatalog</ADSCATWPTitle>
  <ADSCOLImageName>/_layouts/images/mscontl.gif</ADSCOLImageName>
  <ADSCOLTitle>Websitesammlungs</ADSCOLTitle>
  <ADSCOLSHURL>/_layouts/1031/vsubwebs.aspx</ADSCOLSHURL>
  <ADSCOLSHTitle>Websitehierarchie anzeigen</ADSCOLSHTitle>
  <ADSCOLSSURL>/_layouts/1031/storman.aspx</ADSCOLSSURL>
  <ADSCOLSSTitle>Speicherplatzzuteilung anzeigen</ADSCOLSSTitle>
  <ADSCOLPCURL>/_layouts/1031/portal.aspx</ADSCOLPCURL>
  <ADSCOLPCTitle>Portalwebsite konfigurieren</ADSCOLPCTitle>
  <LSTImageName>/_layouts/images/itfl.gif</LSTImageName>
  <LSTTitle>Listen</LSTTitle>
  <LSTCLImageName>/_layouts/images/itobject.gif</LSTCLImageName>
  <LSTCLURL>/_layouts/1031/create.aspx</LSTCLURL>
  <LSTCLTitle>Erstelle Liste</LSTCLTitle>
   <LSTDefaultImageName>/_layouts/images/itgen.gif</LSTDefaultImageName>
  <LSTDLImageName>/_layouts/images/itdl.gif</LSTDLImageName>
  <LSTDLPLImageName>/_layouts/images/itil.gif</LSTDLPLImageName>
  <LSTANImageName>/_layouts/images/itann.gif</LSTANImageName>
  <LSTCNImageName>/_layouts/images/itcontct.gif</LSTCNImageName>
  <LSTEVImageName>/_layouts/images/itevent.gif</LSTEVImageName>
  <LSTSRImageName>/_layouts/images/itsurvey.gif</LSTSRImageName>
  <LSTLNImageName>/_layouts/images/itlink.gif</LSTLNImageName>
  <LSTTSImageName>/_layouts/images/ittask.gif</LSTTSImageName>
  <LSTDBImageName>/_layouts/images/itdisc.gif</LSTDBImageName>
  <LSTITImageName>/_layouts/images/itissue.gif</LSTITImageName>
  <ADSTACSMYURL>/_layouts/1031/scsignup.aspx</ADSTACSMYURL>
  </WorkplaceViewAdvanced>
</CorasWorks>

The CorasWorks node supports multiple WorkplaceViewAdvanced nodes, allowing for the same web part to be used on multiple sites. When the web part loads, the language of the site that the web part is hosted in will automatically be used, provided an ID attribute for the site’s WorkplaceViewAdvanced node has been defined, otherwise, the WorkplaceViewAdvanced node with an attribute of 'default' will be used.

To localize the web part for multiple languages, repeat these tags (and the content in between) for each language. However, instead of using ‘default’ after the web part ID, use one of the 4-digit LCIDs provided below. Copy the rest of the LCIDXML text and place it between these tags for each desired language, making the appropriate translations for each language.

The following list shows the LCID for each language:

LCID Language
1025    Arabic
2052    Chinese - Simplified
1028    Chinese - Traditional
1029    Czech
1030    Danish
1043    Dutch
1033    English
1035    Finnish
1036    French
1031    German
1032    Greek
1037    Hebrew
1038    Hungarian
1040    Italian
1041    Japanese
1042    Korean
1044    Norwegian
1045    Polish
2070    Portuguese
1046    Portuguese – Brazilian
1049    Russian
1034    Spanish
1053    Swedish
1054    Thai
1055    Turkish