standalone/listlangs.php

16 lines
287 B
PHP
Raw Normal View History

2019-04-12 15:40:27 +02:00
<?php
$updateId = isset($argv[1]) ? $argv[1] : 0;
require_once dirname(__FILE__).'/api/listlangs.php';
$langs = uupListLangs($updateId);
$langs = $langs['langFancyNames'];
asort($langs);
foreach($langs as $key => $val) {
echo $key;
echo '|';
echo $val;
echo "\n";
}
?>