David_M
Jan 14, 2021Cirrostratus
apm webtop language change
Hii
I need to convert the page text and the icons and all that once logged in to a different language. To Arabic.
I have the ar lang to the policy and tested with a chrome plugin to change my browser lang request, I see the session.ui.lang changing to ar but still the language doesn't change at all.
b565b822.session.ui.lang = ar
Then I tried it with a decision box to change this variable and still the language in the webtop doesn't change, words like username and password etc.
Also tried adding links with this irule.
when HTTP_REQUEST {
if { [HTTP::uri] ends_with "/ar" }
{
HTTP::header insert "Accept-Language" "ar,en-US;q=0.9,en;q=0.8"
}
elseif { [HTTP::uri] ends_with "/en" }
{
HTTP::header insert "Accept-Language" "en-US,en;q=0.9,ar;q=0.8"
}
}