Skip to content
Snippets Groups Projects
Commit c682b1f0 authored by Vincent Petry's avatar Vincent Petry Committed by Thomas Müller
Browse files

Fix language file detection

parent 9f7c571e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment