X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=config%2Fcfgroot%2Flang.pl;h=c77e0a0665692e0948f265ad2d196ac43d6bdf86;hb=a71beeb2342c5dcc3c99c5523e74c3914b9cbee9;hp=3b001ad9d433ad2fe354e29369f017294dcd5137;hpb=9a3d6f5ad10c81768337f3a8c11dd0c128f908fd;p=ipfire-2.x.git diff --git a/config/cfgroot/lang.pl b/config/cfgroot/lang.pl index 3b001ad9d4..c77e0a0665 100644 --- a/config/cfgroot/lang.pl +++ b/config/cfgroot/lang.pl @@ -169,6 +169,9 @@ sub FindWebLanguage() { my ($language, $country) = split(/_/, $shortlang); push(@options, $language); + # Add English as fallback + push(@options, "en"); + foreach my $option (@options) { return $option if (-e "${General::swroot}/langs/$option.pl"); }