Forum Discussion

David_M's avatar
David_M
Icon for Cirrostratus rankCirrostratus
Jan 14, 2021

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"
}
}
  • Languages that are present in the dropdown list (additional languages) and not in the Factory BuiltIn Languages list don't have translations available, you must go to customization and define translations for every text string you want to be displayed in the desired language.