Manual:$wgGrammarForms/de-formal

From Linux Web Expert

Revision as of 08:36, 17 August 2022 by imported>ThisCarthing (Created page with "== Details ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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