Enable cld3

This commit is contained in:
M66B
2021-01-19 09:04:48 +01:00
parent 48d41afd04
commit a985b1cec9
10 changed files with 37 additions and 36 deletions

View File

@@ -1716,7 +1716,7 @@ public class HtmlHelper {
if (!language_detection)
return null;
String text = getPreview(body);
String text = getFullText(body);
Locale locale = TextHelper.detectLanguage(context, text);
return (locale == null ? null : locale.getLanguage());
} catch (Throwable ex) {