friendica/library/langdet/docs/languages.php
2017-09-04 09:52:14 +02:00

12 lines
189 B
PHP

<?php
/**
* List all supported languages
*/
require_once 'Text/LanguageDetect.php';
$ld = new Text_LanguageDetect();
foreach ($ld->getLanguages() as $lang) {
echo $lang . "\n";
}
?>