summaryrefslogtreecommitdiff
path: root/menu.pl
diff options
context:
space:
mode:
Diffstat (limited to 'menu.pl')
-rwxr-xr-xmenu.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.pl b/menu.pl
index 53e4629f..98e7e2f2 100755
--- a/menu.pl
+++ b/menu.pl
@@ -69,7 +69,7 @@ $0 =~ tr/\\/\//;
$pos = rindex $0, '/';
$script = substr($0, $pos + 1);
-$locale = LedgerSMB::Locale->get_handle($myconfig{countrycode}) or
+$locale = LedgerSMB::Locale->get_handle(${LedgerSMB::Sysconfig::language}) or
$form->error(__FILE__.':'.__LINE__.": Locale not loaded: $!\n");
# we use $script for the language module
$form->{script} = $script;