summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/msg.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/urpm/msg.pm b/urpm/msg.pm
index ca81d9fe..50910b90 100644
--- a/urpm/msg.pm
+++ b/urpm/msg.pm
@@ -27,7 +27,11 @@ foreach my $domain (@textdomains) {
Locale::gettext::bind_textdomain_codeset($domain, 'UTF-8');
}
URPM::bind_rpm_textdomain_codeset();
-
+if ( $::devmode ) {
+ foreach my $domain (@textdomains) {
+ bindtextdomain($domain, $::devdir."/locale");
+ }
+}
our $no_translation;
sub from_locale_encoding {