ThisisaprojectbyWikimediafoundation's[LanguageEngineeringteam](https://www.mediawiki.org/wiki/Wikimedia_Language_engineering) and used in some of the Wikimedia Foundation projects like Universal Language Selector.
Messagestakeparameters.Theyarerepresentedby$1,$2,$3,…inthemessagetexts,andreplacedatruntime.Typicalparametervaluesarenumbers(Example:"Delete 3 versions?"),orusernames(Example:"Page last edited by $1"),pagenames,links,andsoon,orsometimesothermessages.
```javascript
varmessage="Welcome, $1";
$.i18n(message,'Alice');// This gives "Welcome, Alice"
IncaseofEnglish,thereareonly2pluralforms,butmanylanguagesusemorethan2pluralforms.Allthepluralformscanbegivenintheabovesyntax,separatedbypipe(|).Thenumberofpluralformsforeachlanguageisdefinedin[CLDR](https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html). You need to provide all those plural forms for a language.
$.i18n(message,12);// Gives "Box has a dozen eggs."
```
##Gender
Similartoplural,dependingongenderofplaceholders,mostlyusernames,thesyntaxchangesdynamically.AnexampleinEnglishis"Alice changed her profile picture"and"Bob changed his profile picture".Tosupportthis{{GENDER...}}syntaxcanbeusedasshowinexample