Miscellany
public text v1 · immutable<html>
<head></head>
<body dir="rtl">
<?php
$currentLocale = setlocale(LC_ALL, 'ar_SA.utf8');
bindtextdomain('plurals', '/var/www/locale/');
textdomain('plurals');
for ($c == 0; $c <= 6; $c++){
$string1 = ngettext("1 read", "%d reads", $c);
$string2 = ngettext("1 user", "%d users", $c);
printf("$string1 - $string2 <br />", $c, $c);
}
?>
</body>
</html>