Issues changing OTRS language

Moderator: crythias

Post Reply
lucassvieira
Znuny newbie
Posts: 2
Joined: 10 May 2017, 18:16
Znuny Version: 5.0.18

Issues changing OTRS language

Post by lucassvieira »

Good day everyone.

I'm having some trouble changing the

Code: Select all

customer.pl
login screen language.

I've already configured my

Code: Select all

Config.pm
to have this piece of code:

Code: Select all

$Self->{DefaultLanguage} = 'pt_BR'
and still, the login screens are still in English. After the users login and logout, the screen changes to the desired locale, but if I refresh the page, it goes back to English.

I also tried "breaking" my

Code: Select all

Config.pm
file to check if it's functioning properly, and it actually broke when I changed the:

Code: Select all

$Self->{'Frontend::WebPath'} = '/otrs-web/';
to a non-existing path. So I guess the

Code: Select all

Config.pm
is working properly.

Does anyone have any idea on how to fix this?

Thanks!
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Issues changing OTRS language

Post by jojo »

the login page will use the default languag of your browser
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
lucassvieira
Znuny newbie
Posts: 2
Joined: 10 May 2017, 18:16
Znuny Version: 5.0.18

Re: Issues changing OTRS language

Post by lucassvieira »

Thanks for replying.

The default language was set to pt-BR on my browser, but I had other languages after that. I had to remove them all for it to work, but at least it did. :)
Post Reply