EasyManua.ls Logo

Siemens S7-1200 - Configuring STEP 7 to Use a Multi-Language Page Structure

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Web server
11.6 User-defined Web pages
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
659
function DoLocalLanguageChange(oSelect) {
SetLangCookie(oSelect.value);
top.window.location.reload();
}
function SetLangCookie(value) {
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;
}
11.6.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 641). 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.
F
or 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.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals