mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:15:55 +00:00
include title when detecting article language
This commit is contained in:
@@ -572,7 +572,7 @@
|
||||
print "\n";
|
||||
}
|
||||
|
||||
$entry_language = $lang->detect($entry_content, 1);
|
||||
$entry_language = $lang->detect($entry_title . " " . $entry_content, 1);
|
||||
|
||||
if (count($entry_language) > 0) {
|
||||
$entry_language = array_keys($entry_language);
|
||||
|
||||
Reference in New Issue
Block a user