(string) GetPlainText($file='file', $nls='')
Arguments
(string) | $file | The name of the file in the file list. Default is 'file'. |
(string) | $nls | The two-letter ISO language code, e.g. 'en'. The default value is the current language. |
This method returns the plain text content from the file, or false. Ariadne can translate HTML, PDF and Word files to text. It depends on external tools to translate the PDF and Word files though, antiword for Word, and pdftotext for PDF. Make sure they are installed and configured in lib/configs/ariadne.phtml