diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm index ad814dd098..52449454d8 100644 --- a/misc/translator/LangInstaller.pm +++ b/misc/translator/LangInstaller.pm @@ -76,6 +76,10 @@ sub new { chomp $self->{xgettext}; chomp $self->{sed}; + unless ($self->{xgettext}) { + die "Missing 'xgettext' executable. Have you installed the gettext package?\n"; + } + # Get all .pref file names opendir my $fh, $self->{path_pref_en}; my @pref_files = grep { /.pref/ } readdir($fh);