Manual:$wgGrammarForms/de-formal
From Linux Web Expert
<translate> Language, regional and character encoding settings</translate>: $wgGrammarForms | |
---|---|
Used for {{GRAMMAR:}} parser function. |
|
<translate> Introduced in version:</translate> | 1.7.0 (r14381) |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (array of array of strings) |
<translate> Default value:</translate> | [] |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Some languages need different word forms, usually for different cases.
Used by method Language::convertGrammar to implement the {{GRAMMAR:}}
parser function.
Example:
$wgGrammarForms['en']['genitive']['car'] = 'car\'s';