X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLocale.pm;h=3b91502d5e2f990e11497512768396787f1572a4;hb=991369b17d679e2855f4d5086d0b9769dc2ae1aa;hp=9257e6ca7139059ca0e2d3ddc855ce82459213b4;hpb=5ca9d91a67b392459d042d51dbf2dbe095ad0572;p=kivitendo-erp.git diff --git a/SL/Locale.pm b/SL/Locale.pm index 9257e6ca7..3b91502d5 100644 --- a/SL/Locale.pm +++ b/SL/Locale.pm @@ -74,6 +74,12 @@ sub new { return $locales_by_country{$country} } +sub is_supported { + my ($country) = @_; + + return -f "locale/$country/all"; +} + sub _init { my $self = shift; my $country = shift;