friendica/library/langdet/docs/languages.php

12 lines
189 B
PHP
Raw Normal View History

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