Commit c682b1f0 authored by Vincent Petry's avatar Vincent Petry Committed by Thomas Müller
Browse files

Fix language file detection

parent 9f7c571e
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment