2 * Hebrew (עברית) language functions
7 $.i18n.languages.he = $.extend( {}, $.i18n.languages['default'], {
8 convertGrammar: function ( word, form ) {
11 case 'תחילית': // the same word in Hebrew
12 // Duplicate prefixed "Waw", but only if it's not already double
13 if ( word.substr( 0, 1 ) === 'ו' && word.substr( 0, 2 ) !== 'וו' ) {
17 // Remove the "He" if prefixed
18 if ( word.substr( 0, 1 ) === 'ה' ) {
19 word = word.substr( 1, word.length );
22 // Add a hyphen (maqaf) before numbers and non-Hebrew letters
23 if ( word.substr( 0, 1 ) < 'א' || word.substr( 0, 1 ) > 'ת' ) {