summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 9a30749a7..aa0bd78a2 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -41,6 +41,8 @@ sub text2lang {
sub set {
my $lang = shift;
+ undef %po::I18N::I18N;
+
if ($lang) {
$ENV{LANG} = $ENV{LINGUAS} = $lang;
$ENV{LC_ALL} = $languages{$lang}[3];