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 f37f8389e..f072cd92b 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -210,6 +210,8 @@ sub text2lang {
die "unknown language $t";
}
+sub lang2charset { $languages{$_[0]} }
+
sub set {
my ($lang) = @_;