friendica/library/langdet/docs/languages.php

12 lines
189 B
PHP
Raw Normal View History

2017-10-05 11:58:18 +02:00
<?php
/**
* List all supported languages
*/
require_once 'Text/LanguageDetect.php';
$ld = new Text_LanguageDetect();
foreach ($ld->getLanguages() as $lang) {
echo $lang . "\n";
}
?>