10.02.2013 Views

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

IBM Tivoli Access Manager for e-business: WebSEAL Administration ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Multi-locale<br />

messages<br />

Standard<br />

<strong>WebSEAL</strong><br />

server<br />

responses<br />

to<br />

client<br />

browsers,<br />

such<br />

as<br />

error<br />

messages,<br />

custom<br />

HTML<br />

login<br />

and<br />

logout<br />

pages,<br />

and<br />

serviceability<br />

messages,<br />

can<br />

be<br />

delivered<br />

in<br />

the<br />

client’s<br />

preferred<br />

language.<br />

<strong>WebSEAL</strong><br />

supports<br />

multi-locale<br />

capabilities<br />

by<br />

using<br />

the<br />

values<br />

contained<br />

in<br />

the<br />

accept-language<br />

HTTP<br />

header<br />

to<br />

determine<br />

the<br />

correct<br />

language<br />

<strong>for</strong><br />

server-generated<br />

messages<br />

and<br />

HTML<br />

pages.<br />

Translated<br />

in<strong>for</strong>mation<br />

is<br />

available<br />

<strong>for</strong><br />

the<br />

following<br />

server<br />

resources:<br />

v<br />

HTTP<br />

error<br />

messages<br />

install_path/www/lib/errors/locale_directory<br />

v<br />

Custom<br />

account<br />

management<br />

pages<br />

install_path/www/lib/html/locale_directory<br />

v<br />

Serviceability<br />

messages<br />

Browsers<br />

adopt<br />

a<br />

standard<br />

set<br />

of<br />

language<br />

values.<br />

Basic<br />

language<br />

values<br />

are<br />

represented<br />

by<br />

two<br />

characters,<br />

indicating<br />

the<br />

language.<br />

Location-specific<br />

values<br />

are<br />

expressed<br />

in<br />

a<br />

two<br />

part<br />

<strong>for</strong>mat,<br />

indicating<br />

the<br />

language<br />

and<br />

the<br />

country<br />

where<br />

this<br />

version<br />

of<br />

the<br />

language<br />

is<br />

used.<br />

Examples<br />

include:<br />

v<br />

es<br />

(Spanish)<br />

v<br />

de<br />

(German)<br />

v<br />

en<br />

(English)<br />

v<br />

it<br />

(Italian)<br />

v<br />

en-US<br />

(English/United<br />

States)<br />

v<br />

en-GR<br />

(English/United<br />

Kingdom)<br />

v<br />

es-ES<br />

(Spanish/Spain)<br />

v<br />

es-MX<br />

(Spanish/Mexico)<br />

v<br />

pt-BR<br />

(Portuguese/Brazil)<br />

The<br />

accept-language<br />

header<br />

can<br />

include<br />

more<br />

than<br />

one<br />

language.<br />

Each<br />

additional<br />

language<br />

is<br />

separated<br />

by<br />

a<br />

comma.<br />

For<br />

example:<br />

accept-language:<br />

es-mx,es,en<br />

The<br />

order<br />

in<br />

which<br />

the<br />

values<br />

appear<br />

in<br />

the<br />

header<br />

determine<br />

the<br />

hierarchy<br />

of<br />

importance.<br />

<strong>WebSEAL</strong><br />

checks<br />

the<br />

first<br />

listed<br />

value<br />

<strong>for</strong><br />

an<br />

existing<br />

installed<br />

language<br />

pack.<br />

If<br />

no<br />

language<br />

pack<br />

<strong>for</strong><br />

this<br />

language<br />

is<br />

installed,<br />

<strong>WebSEAL</strong><br />

checks<br />

the<br />

next<br />

language<br />

in<br />

the<br />

list<br />

<strong>for</strong><br />

its<br />

associated<br />

language<br />

pack.<br />

Note:<br />

The<br />

accept-language<br />

header<br />

can<br />

use<br />

a<br />

″q=x.x″<br />

parameter<br />

to<br />

express<br />

a<br />

preference<br />

level<br />

<strong>for</strong><br />

a<br />

language.<br />

This<br />

parameter<br />

is<br />

not<br />

recognized<br />

by<br />

<strong>WebSEAL</strong>.<br />

The<br />

listed<br />

order<br />

of<br />

languages<br />

in<br />

the<br />

header<br />

determines<br />

the<br />

order<br />

of<br />

priority<br />

<strong>for</strong><br />

<strong>WebSEAL</strong>.<br />

Several<br />

language<br />

packs<br />

<strong>for</strong><br />

<strong>WebSEAL</strong><br />

server<br />

messages<br />

are<br />

available<br />

<strong>for</strong><br />

installation.<br />

Each<br />

language<br />

pack<br />

installation<br />

creates<br />

a<br />

locale-specific<br />

sub-directory<br />

within<br />

the<br />

path<br />

<strong>for</strong><br />

each<br />

message<br />

storage<br />

location.<br />

For<br />

example,<br />

a<br />

Spanish<br />

language<br />

pack<br />

creates<br />

the<br />

following<br />

sub-directory<br />

<strong>for</strong><br />

the<br />

server<br />

error<br />

message<br />

storage<br />

location:<br />

install_path/www/lib/errors/es<br />

The<br />

following<br />

table<br />

lists<br />

the<br />

languages<br />

supported<br />

by<br />

<strong>WebSEAL</strong>,<br />

with<br />

the<br />

associated<br />

sub-directory<br />

name:<br />

Chapter<br />

2.<br />

<strong>WebSEAL</strong><br />

server<br />

configuration<br />

53

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!