friendica/library/langdet/docs/languages.php

12 lines
189 B
PHP
Raw Normal View History

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