summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup_native/source/packinfo/spellchecker_selection.txt1
-rw-r--r--solenv/bin/modules/installer/worker.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/setup_native/source/packinfo/spellchecker_selection.txt b/setup_native/source/packinfo/spellchecker_selection.txt
index 8a866a253ab4..a2e10bbac94b 100644
--- a/setup_native/source/packinfo/spellchecker_selection.txt
+++ b/setup_native/source/packinfo/spellchecker_selection.txt
@@ -21,6 +21,7 @@ de = "de,fr,it"
el = "el"
en-US = "en,es,fr"
en-GB = "en,es,fr"
+en-ZA = "en,es,fr"
es = "an,es,fr,pt"
et = "et"
fr = "fr,es"
diff --git a/solenv/bin/modules/installer/worker.pm b/solenv/bin/modules/installer/worker.pm
index dd0c33966270..bd740a7590fe 100644
--- a/solenv/bin/modules/installer/worker.pm
+++ b/solenv/bin/modules/installer/worker.pm
@@ -2438,7 +2438,7 @@ sub set_spellcheckerlanguages
{
my $languagelist = "";
if ( exists($spellcheckhash{$lang}) ) { $languagelist = $spellcheckhash{$lang}; }
- else { $languagelist = $spellcheckhash{'en-US'}; } # defaulting to English
+ else { $languagelist = ""; } # no dictionary unless defined in SPELLCHECKERFILE
my $langlisthash = installer::converter::convert_stringlist_into_hash(\$languagelist, ",");
foreach my $onelang ( keys %{$langlisthash} ) { $installer::globals::spellcheckerlanguagehash{$onelang} = 1; }