Change System Language

Movicon has certain dialog windows which are used for customizing texts.

To guarantee the complete support of the multilingual function, Movicon has provided you with a function purposely built for replacing window system texts with customized texts contained in the string resource. In order for this to work you need to insert the customized test, which have been preset with an  "key" ID code as described in the table below, into the string resource.  When Movicon comes across these special identifiers in the project, it will replace the system's text with the text contained in the string resource according to the language which has been activated.

 

During installation mode 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 Movicon installation language columns and relating translations with default text.  This file is in compatible '.csv' format for direct importing 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 limit 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 thought 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 for displaying 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 need to put the  %u character after the text specified, ie: Password  Level = %u

_LEVEL_EXP_GETPTEXT_

 

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

 

_RESET_GETPTEXT_

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

_RPASS_GETPTEXT_

Text desired for 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 the pen's.  In Runtime the Trend will display the text contained in the string ID instead of the name of the pen.

 

 

Dialog Box for Filter Command 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 for insert 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

 

Special ID strings for customizing texts when using multilanguage projects.

 

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 "Tempe ON:" string.

_TIMEOFF_COMMENTACK_

Text to replace "Tempe 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