3 /** Ripuarian (RipoarÄ—sh)
7 * @author Purodha Blissenbach
9 class LanguageKsh
extends Language
{
11 * Avoid grouping whole numbers between 0 to 9999
13 public function commafy( $_ ) {
14 if ( !preg_match( '/^\d{1,4}$/', $_ ) ) {
15 return strrev( (string)preg_replace( '/(\d{3})(?=\d)(?!\d*\.)/', '$1,', strrev( $_ ) ) );
22 * Handle cases of (1, other, 0) or (1, other)
24 function convertPlural( $count, $forms ) {
25 if ( !count($forms) ) { return ''; }
26 $forms = $this->preConvertPlural( $forms, 3 );
30 } elseif ( $count == 0 ) {