@@ -, +, @@ - make sure your database is empty - run 'perl translate install - access web installer - select language other then en on the first page --- installer/InstallAuth.pm | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) --- a/installer/InstallAuth.pm +++ a/installer/InstallAuth.pm @@ -163,13 +163,7 @@ sub _get_template_language { my ($opaclang)= @_; return 'en' unless $opaclang; my $path= C4::Context->config('intrahtdocs')."/prog/$opaclang"; - my $pref= ','.C4::Context->preference('language').','; - if(-d $path) { - if($pref =~ /,$opaclang,/ ) { - return $opaclang; - } - } - return 'en'; + -d $path ? $opaclang : 'en'; } =item checkauth --