Ultimate Uploader v1.4
Localization  
 

Text strings replacement

You can change all text strings of the uploader, for example for localization. Replacement is made through javascript by setting of certain Strings object properties as shown below:


<object id="ultimateUploader" data="data:application/x-silverlight-2," ...
    ...
    <param name="onLoad" value="onSilverlightLoaded" />
    ...
</object>

<script type="text/javascript">
    function onSilverlightLoaded() {
        var strings = document.getElementById("ultimateUploader").Content.Strings;
        strings.AddButtonText = "My custom text";
        ...
    }
</script>

If any properties are not set, default values will be assigned. The properties setting buttons text (xxxButtonText) by default are not set, and instead of the text images are displayed. If to set these properties, images will not be displayed, only the assigned text.

Localizable strings list

Property name Default value
Main window
AddButtonText undefined (image is displayed instead)
AddButtonHint "Add files"
RemoveButtonText undefined (image is displayed instead)
RemoveButtonHint "Remove files"
ClearButtonText undefined (image is displayed instead)
ClearButtonHint "Clear list"
SetGridViewText undefined (image is displayed instead)
SetGridViewHint "Grid view"
SetThumbsViewText undefined (image is displayed instead)
SetThumbsViewHint "Thumbnails view"
CancelButtonText undefined (image is displayed instead)
CancelButtonHint "Cancel"
UploadButtonText undefined (image is displayed instead)
UploadButtonHint "Upload"
PauseButtonText undefined (image is displayed instead)
PauseButtonHint "Pause"
ResumeButtonText undefined (image is displayed instead)
ResumeButtonHint "Resume"
HelpButtonText undefined (image is displayed instead)
HelpButtonHint "Show help"
OverallProgressText "Overall upload progress"
TotalSizeInitText "Total size: N/A"
TotalSizeText "Total size: {0} {1}"
TimeLeftInitText "Estimated time: N/A"
TimeLeftText "Estimated time: {0}"
EstimatedTimeLabel "Estimated time: {0:00}:{1:00}:{2:00}"
UploadedLabel "Uploaded: {0} of {1} ({2}/s)"
UploadedPausedLabel "Uploaded: {0} of {1} (paused)"
PreparingLabelText "image preparing in progress"
DefaultFileTypesFilter "All files (*.*)|*.*"
Grid/Thumbnails view
FileNameColumnText "File name"
FileSizeColumnText "Size"
FileProgressColumnText "Progress"
FileCommentColumnText "Comment"
FileNameHint "Click to see file info"
ThumbCheckboxHint "Check/uncheck file"
Popup window
PopupTitleText "File upload details"
PopupFileNameText "File name:"
PopupFileSizeText "File size:"
PopupUploadedText "Uploaded:"
PopupResponseText "Response:"
PopupChunkSizeText "Chunk size:"
PopupErrorText "Error:"
NoErrorLabel "No error"
Messages
MessageHandlerNotDefined "Handler url not defined"
MessageMaxFileCountTitle "Maximum file count limit"
MessageMaxFileCount "You cannot upload more than {0} files"
MessageMinFileCountTitle "Minimum file count limit"
MessageMinFileCount "You cannot upload less than {0} files"
MessageResumeBrokenTitle "Broken uploads"
MessageResumeBroken "There are erroneous/broken uploads in the list. Do you want to try to resume them?"
MessageLimitExceededTitle "File size limit exceeded"
MessageLimitExceeded "The size of the selected file \"{0}\" ({1}) exceeds the allowable size ({2})"
MessageTrialTitle "Unregistered version"
MessageTrial "You are using unregistered 30-day evaluation copy of Ultimate Uploader"
MessageConfirmationTitle "Resume or overwrite?"
MessageConfirmation "File already exists, resume or overwrite?\n(OK - resume, Cancel - Overwrite)"
Statuses
StatusFilePending "File pending for upload"
StatusFileUploadError "An error occured during file upload"
StatusFileRemoved "File removed from upload queue"
StatusFileStopped "File upload stopped"
StatusFileUploadInProgress "File upload in progress…"
StatusGetResponseError "An error occured at getting server response from handler"
StatusFileUploadCompleted "File upload completed successfully"
StatusCanceled "Upload canceled"
StatusCompleted "Upload completed"