X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=config%2Fcfgroot%2Flang.pl;h=c77e0a0665692e0948f265ad2d196ac43d6bdf86;hp=3b001ad9d433ad2fe354e29369f017294dcd5137;hb=a71beeb2342c5dcc3c99c5523e74c3914b9cbee9;hpb=b8df63aeabbd2c54305bc255ae9abf7d67251d7c 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"); }