diff options
Diffstat (limited to 'solenv/bin/modules/installer/languages.pm')
-rw-r--r-- | solenv/bin/modules/installer/languages.pm | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/solenv/bin/modules/installer/languages.pm b/solenv/bin/modules/installer/languages.pm index db5ce8534060..139da94af9e2 100644 --- a/solenv/bin/modules/installer/languages.pm +++ b/solenv/bin/modules/installer/languages.pm @@ -133,105 +133,6 @@ sub get_all_languages_for_one_product installer::remover::remove_leading_and_ending_whitespaces(\$last); push(@languagearray, "$last"); - if ( $installer::globals::iswindowsbuild ) - { - my $furthercheck = 1; - - # For some languages (that are not supported by Windows, english needs to be added to the installation set - - # FIXME The script i18npool/source/isolang/langid.pl greps this very - # source file to read this array. Be careful! - my @noMSLocaleLangs = ( - "br", - "bs", - "dz", - "gu", - "km", - "nr", - "ns", - "nso", - "rw", - "ss", - "st", - "tg", - "ts", - "tn", - "ve", - "xh", - "zu", - "ne", - "bn", - "bn-BD", - "bn-IN", - "lo", - "cy", - "ku", - "as-IN", - "te-IN", - "ml-IN", - "mr-IN", - "ur-IN", - "ta-IN", - "or-IN", - "ti-ER", - "eo", - "ka", - "ga", - "uk", - "gd", - "my", - "mai", - "brx", - "dgo", - "kok", - "mni", - "ca-XV", - "sat", - "ug", - "om", - "si", - "or", - "oc", - "ml", - "as", - "ast", - "ht", - "jbo", - "fur", - "ny", - "so", - "kab", - "tk", - "ky-CN", - ); - - if ( all_elements_of_array1_in_array2(\@languagearray, \@noMSLocaleLangs) ) - { - my $officestartlanguage = $languagearray[0]; - unshift(@languagearray, "en-US"); # am Anfang einfügen! - $installer::globals::ismultilingual = 1; - $installer::globals::added_english = 1; - $installer::globals::set_office_start_language = 1; - # setting the variable PRODUCTLANGUAGE, needed for Linguistic-ForceDefaultLanguage.xcu - $allvariables->{'PRODUCTLANGUAGE'} = $officestartlanguage; - $furthercheck = 0; - } - - # In bilingual installation sets, in which english is the first language, - # the Office start language shall be the second language. - - if ( $furthercheck ) - { - if (( $#languagearray == 1 ) && ( $languagearray[0] eq "en-US" )) - { - my $officestartlanguage = $languagearray[1]; - $installer::globals::set_office_start_language = 1; - # setting the variable PRODUCTLANGUAGE, needed for Linguistic-ForceDefaultLanguage.xcu - $allvariables->{'PRODUCTLANGUAGE'} = $officestartlanguage; - } - } - } - return \@languagearray; } |