}
if ( $xslfilename =~ m/\{langcode\}/ ) {
my $lang = C4::Templates::_current_language;
my $lang = C4::Templates::_current_language();
$xslfilename =~ s/\{langcode\}/$lang/;
-