Manual:$wgGrammarForms/de-formal

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<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>[]

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';