Server Side Include (SSI)
8.3.6
ChangeLanguage()
This command changes the language setting based on an HTML form object.
This function cannot be used in e-mail messages.
Syntax:
<?--#exec cmd_argument='ChangeLanguage( "source" )'-->
source:
The passed value must be a single digit as follows:
Form value
"0"
"1"
"2"
"3"
"4"
Default Output
Scenario
Success
Error
Example
The following example demonstrates how to use this function. The resulting page sends a form
to itself, which is then evaluated by the ChangeLanguage() command.
<HTML>
<HEAD><TITLE>ChangeLanguage Test</TITLE></HEAD>
<BODY>
<?--#exec cmd_argument='ChangeLanguage("lang")'-->
<FORM action="test.shtm">
<P>
<LABEL for="lang">Language(0-4): </LABEL><BR>
<INPUT type="text" name="lang"><BR><BR>
<INPUT type="submit" name="_submit">
</P>
</FORM>
</BODY>
</HTML>
In order for this example to work, the HTML file must be named "test.shtm".
Anybus CompactCom 40 EtherNet/IP IIoT Network Guide
Name of form object which contains the new language setting.
Language
English
German
Spanish
Italian
French
Default Output
"Language changed"
"Failed to change language"
39 (244)
SCM-1202–069 1.9 en-US
Need help?
Do you have a question about the CompactCom 40 and is the answer not in the manual?
Questions and answers