40 MediaWikiServices::getInstance()->getMainConfig()->get( MainConfigNames::GrammarForms );
41 if ( isset( $grammarForms[
'hsb'][$case][$word] ) ) {
42 return $grammarForms[
'hsb'][$case][$word];
46 case 'instrumental': # instrumental
49 case 'lokatiw': # lokatiw
50 $word =
'wo ' . $word;
54 # this will return the original value for 'nominatiw' (nominativ) and
55 # all undefined case values.
Upper Sorbian (Hornjoserbsce)
convertGrammar( $word, $case)
Convert from the nominative form of a noun to some other case Invoked with {{grammar:case|word}}.
Base class for language-specific code.
A class containing constants representing the names of configuration variables.