
Hi Martin,
I would suggest some small changes in the files
Kernel/System/Web/InterfaceAgent.pm, Kernel/System/Web/InterfaceCustomer.pm and Kernel/System/Web/InterfacePublic.pm.
The default language for the interfaces is allways 'en'. I think line (in all three files) ~120
Lang => '',
should look like
Lang => $Self->{ConfigObject}->Get('DefaultLanguage') || '',
Nothing worldshaking, but our customers and agents complained about it.
Stephan
Normally the default frontend language is detected in Kernel/Output/HTML/Generic.pm (the LayoutObject) based on browser sent headers. If there is no matching language in send browser header the DefaultLanguage from config is used.
See Kernel/Language.pm line ~ 81.
[...] # user language $Self->{UserLanguage} = $Param{UserLanguage} || $Self->{ConfigObject}->Get('DefaultLanguage') || 'en'; [...]
So it should already work.
Martin
You're right. We're using the English version of firefox, so we allways get the English version of the login screen. For our system I removed the detection based on http headers. Thanks, Stephan