summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/standalone/localedrake3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake
index 246499c32..8ea80873b 100644
--- a/perl-install/standalone/localedrake
+++ b/perl-install/standalone/localedrake
@@ -45,7 +45,10 @@ eval {
local $::isWizard = 1;
local $::Wizard_no_previous = 1;
language:
+ my $old_lang = $locale->{lang};
$locale->{lang} = any::selectLanguage($in, $locale->{lang});
+ print "$old_lang => $locale->{lang}\n";
+ $locale->{IM} ||= lang::get_default_im($locale->{lang}) if $old_lang ne $locale->{lang};
undef $::Wizard_no_previous;
select_country() or goto language;
};