Fix language file detection

remotes/origin/fix-10825
Vincent Petry 10 years ago committed by Thomas Müller
parent 9f7c571e40
commit c682b1f0c1
  1. 2
      lib/private/l10n.php

@ -501,7 +501,7 @@ class OC_L10N implements \OCP\IL10N {
}
$dir = self::findI18nDir($app);
if(is_dir($dir)) {
return file_exists($dir.'/'.$lang.'.php');
return file_exists($dir.'/'.$lang.'.json');
}
return false;
}

Loading…
Cancel
Save