Instead of repeating template settings, you can use "text messages" defined with the option "Used in JavaScript" set to "Yes".
For example, you can add the following text messages to your application :
UCPROCESS.STATUS > "%3"
UCPROCESS.PERCENT > "%1%"
UCPROCESS.PERCENT_OF > "%1% of %2%"
UCPROCESS.PERCENT_NAME > "%0 %1% of %2%"
UCPROCESS.ROWS > "%1 of %2 rows"
UCPROCESS.COMPLETE > "Complete %0!"
%0 - Name
%1 - Current value
%2 - Max value
%3 - Text status
Dialog list can be translated with fallowing text messages used with option "Used in JavaScript" set to "Yes".
UC.PROGRESSBAR.DIALOG.TITLE > "Process list"
UC.PROGRESSBAR.DIALOG.BUTTON.CLOSE_LIST > "Close list"
UC.PROGRESSBAR.DIALOG.BUTTON.CLEAR_LIST > "Clear event list"
To use the text messages just reference the names as show below:
Text options for the plug-in are set inside "JavaScript Initialization Code".
function( pOptions ) {
pOptions.style.textTemplate = "UCPROCESS.ROWS";
pOptions.style.completeText = "UCPROCESS.COMPLETE";
pOptions.progress.displayName = "Percent-name";
return pOptions;
}