Configuring Step 7 To Use A Multi-Language Page Structure - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

function DoLocalLanguageChange(oSelect) {
function SetLangCookie(value) {
11.3.9.3

Configuring STEP 7 to use a multi-language page structure

The procedure for configuring multi-language user-defined Web pages is similar to the
general process for configuring user-defined Web pages (Page 507). When you have folders
set up for languages, however, you set your HTML directory setting to the folder that
contains the individual language folders. You do not set the HTML directory to be one of the
language folders.
When you select the default HTML page, you navigate into the language folder and select
the HTML page that is to be the start page. When you subsequently generate blocks and
download the blocks to the CPU, the Web server displays the start page in the language
folder that you configured.
For example, if the folder structure shown here was at C:\, the
setting for HTML directory would be C:\html, and if English were to
be the initial page display, you would navigate to en\langswitch.html
for the default HTML page setting.
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
SetLangCookie(oSelect.value);
top.window.location.reload();
}
var strval = "siemens_automation_language=";
// This is the cookie by which the Web server
// detects the desired language
// This name is required by the Web server.
strval = strval + value;
strval = strval + "; path=/ ;";
// Set path to the application, since otherwise
// path would be set to the requesting page
// and this page would not get the cookie.
/* OPTIONAL
use expiration if this cookie should live longer
than the current browser session:
var now = new Date();
var endttime = new Date(now.getTime() + expiration);
strval = strval + "; expires=" +
endttime.toGMTString() + ";";
*/
document.cookie = strval;
}
104BWeb server
11.3 User-defined web pages
525

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents