Resources.js

Resources.js is a standard JavaScript file, so it can be edited in any text editor. This file uses JSON (JavaScript Object Notation) to define a list of key/value pairs. In each case the key specifies the context in which a message is displayed, and the value is the string used for the message. To localize this file, modify or translate the value strings.

Note that some of the value strings include variables, which should be left as is. For example, the section of Resources.js that defines strings to be used in the Content Manager is shown below. The strings to be localized are shown in bold. The corresponding keys should not be changed.

"contentmanager":{
   "editorpaneerror" : "Editor pane is missing from the content management form",
   "propertyeditorerror" : "Property editor is missing from the content management form
",
   "duplicatecontrolidwarning" : "Warning: A duplicate control id {0} was found on this page.  
This can cause unexpected results in this designer.

We recommend you edit this file by hand and resolve the naming conflict.",
   "idpropertyerror" : "The id property may not be empty",
   "valididerror" : "\" {0} \" is not a valid id.",
   "idalreadyusederror" : "The id \" {0} \" is already in use by another control"
}