Change System Language

Movicon has specific dialog windows which are used to customize texts with.

To ensure that the multilanguage feature is completely supported, Movicon offers a function that has been purposely designed to replace text in the system's windows with customized texts from the string resource. For this to happen, custom text strings must be inserted into the resource and identified by a default "key" ID code, according to the table below. If Movicon detects the presence of these particular identifiers in the project, it will replace the system text with the text contained in the strings resource, according to the language activated.

 

During the installation phase, Movicon will add the "CustomStringID_UNICODE.csv" file to the public documents folder (i.e. for Windows 7: C:\Users\Public\Documents\Progea\Movicon) within which all the special String ID have been inserted with all the Movicon installation language columns and relating translations with default text.  This file is in '.csv' format which is compatible for direct import using the  "StringImpExp.exe" tool.

 

Virtual Keypad for Touch screens

 

Special ID

Description

_CANCEL_PADTEXT_

Text for CANCEL key

_DELETE_PADTEXT_

Text for DELETE key

_OK_PADTEXT_

Text for ENTER key

_TITLE_PADTEXT_

Text for virtual keyboard title.  Movicion for default sets the title with the name of the variable to be modified.  When inserting the custom string ID, the variable name will nolonger be displayed.

 

_VALUE_PADTEXT_

Text to replace the "Value" string: on alphanumeric pads.

_LOW_PADTEXT_

Text to replace the "Low limit" string: on numeric pads

_HIGH_PADTEXT_

Text to replace the "High limit" string: on numeric pads.

_CAPSLOCK_PADTEXT_

Text for CAPS LOCK key

_OUTOFRANGE_PADTEXT_

Out of range value error message text.  Special chars can be used in the message text to display delimiter values, such as  %f, %1, %2. For example, when defining text as "Enter a value between  %f and %f", the first  %f will be replaced with the minimum value and the second with the maximum value.  When using the  %f special character, the number will be displayed with a floating point and even though the number is integer, i.e. 100, it will be displayed with 6 zeros like this: 100.000000. To display a number without decimal figures use the %1 and %2 characters or the  %.0f character. For instance, if set limits are 0 and 100 the following possibilities can be used:

 

"Enter a value between %f and %f" becomes "Enter a vaue between  0.000000 and 100.000000"

"Enter a value between  %.0f and %.0f" becomes "Enter a value between 0 and 100"

"Enter a value between  %1 and %2" becomes "Enter a value between 0 and 100"

 

_MAXCHAR_PADTEXT_

Test for the maximum character number error message.   The  %d and %f special characters can be used in the text to display the maximum number of characters.  For example, a text defined as "The maximum number of characters allowed is %d".

_NOTNUMERIC_PADTEXT_

 

Text for "Enter a number" error message  generated when an alphanumeric value is entered on Numeric Pad.

 

 

 

Password Request Window

 

Special ID

Description

_OK_GETPTEXT_

Text desired for OK command

_CANCEL_GETPTEXT_

Text desired for Cancel command

_USER_GETPTEXT_

Text desired for user name request

_PASS_GETPTEXT_

Text desired for password request

_TITLE_GETPTEXT_

Text desired for user Log On window title.  Movicon also inserts requested password level  for logon for default.  When inserting custom string ID, the custom string ID will not be displayed.  In this case the requested level can be inserted using the "_LEVEL_GETPTEXT_" ID.

_TITLE_EXP_GETPTEXT_

 

Text desired for "Expired Password" window title.

 

_LEVEL_GETPTEXT_

Test desired for defining password level in the user Log On window.

Warning, to display the password level request, you will need to put the  %u character after the text specified, e.g.: Password  Level = %u

_LEVEL_EXP_GETPTEXT_

 

Text desired for defining password level in the "Expired Password" window.

 

_RESET_GETPTEXT_

Text desired for the check-box requesting password change after login.

_RPASS_GETPTEXT_

Text desired for the re-enter password request in the window which appears when password has expired.  

 

 

Trend Legend

 

Special ID

Description

_TLEGEND_DESC_

"Description" Text

_TLEGEND_VALUE_

 "Value" Text

_TLEGEND_MINVALUE_

"Min." Text

_TLEGEND_MAXVALUE_

 "Max." Text

_TLEGEND_AVERAGE_

 "Average" Text

_TLEGEND_TIME_

"Date and Time" text which appears in the legend when Trend is stopped.

 

The change language function also works with the Trend pens by inserting a string ID with the same name as that of the pen.  At Runtime, the Trend will display the text contained in the string ID instead of the name of the pen.

 

 

Dialog Box for Filter Commands in the Viewer Windows (His Log, Trace DB, DataLogger/Recipes)

 

Special ID

Description

_OK_DBFILTER_

Text desired for OK command

_CANCEL_DBFILTER_

Text desired for Cancel command

_USER_DBFILTER_

Text to replace the "User:" string

_TITLE_DBFILTER_

Text for the title of the Dialog Box

_SORTBY_DBFILTER_

Text to replace the "Sort by:" string

_EVENTTYPE_DBFILTER_

Text to replace the "Event Type:" string

_FROMDATE_DBFILTER_

Text to replace the "From Date:" string

_FROMDATE_COMP_DBFILTER_

 

Text to replace the "From  Date Compare:" string

 

_TODATE_DBFILTER_

Text to replace the "To Date:" string

_TODATE_COMP_DBFILTER_

 

Text to replace "To Date Cokmpare:" string

 

_SEVCOND_DBFILTER_

Text to replace the "Severity Condition:" string

_SEVERITY_DBFILTER_

Text to replace the "Severity:" string

 

 

 

Dialog Box to enter Trace Comment for a variable

 

Special ID

Description

_OK_TRACECOMMENT_

Text desired for OK command

_CANCEL_TRACECOMMENT_

Text desired for Cancel command

_NAME_TRACECOMMENT_

Text to replace the "Name:" string

_VALUE_TRACECOMMENT_

Text to replace the "Current Value:" string

_CHANGING_TRACECOMMENT_

Text to replace the "Changing Value:" string

_OBJECT_TRACECOMMENT_

Text to replace the "Changing Object:" string

_COMMENT_TRACECOMMENT_

Text to replace the "Comment:" string

_TITLE_TRACECOMMENT_

Text for the title of the Dialog Box

 

Dialog Wndow to enter "Comment on Alarm Ack"

 

Special ID

Description

_TITLE_COMMENTACK_

Text for window title.

_ALARMNAME_COMMENTACK_

Text to replace "Alarm Name:" string.

_STATE_COMMENTACK_

Text to replace "State:" string.

_TIMEON_COMMENTACK_

Text to replace "Time ON:" string.

_TIMEOFF_COMMENTACK_

Text to replace "Time OFF:" string.

_HELP_COMMENTACK_

Text to replace "Help:" string.

_COMMENT_COMMENTACK_

Text to replace "Comment:" string.

_USEFORALL_COMMENTACK_

Text to use for the "Use for All" option.

_OK_COMMENTACK_

Window's "OK" button text.

_CANCEL_COMMENTACK_

Window's "Cancel" button text.

 

 

See Also