MX Plural documentation

TagsΒΆ

{exp:mx_plural}

{exp:mx_plural lang_id = "fr" qty = "1" str = "maison|maisons"}

Parameters

lang_id required

language ISO code

Afrikaans(af)
Albanian(sq)
Arabic(ar)
Belarusian(be)
Bosnian(bs)
Bulgarian(bz)
Chinese(tw)
Croatian(hr)
Czech(cz)
Dutch(nl)
English(nl)
Estonian(ee)
Farsi(fa)
French(fr)
German(de)
Greek(gr)
Hebrew(il)
Icelandic(is)
Irish(ie) Italian(it) Japan(ja) Kazakh(kz) Latvian(lv) Lithuanian(lt) Malay(my) Mongolian(mn) Polskiy(pl) Russian(ru) Slovak(sk) Spanish(es) Turkish(tr) Ukrainian(ua) Vietnamese(vn) Welsh(cy)

str required

Words forms separated with |

qty optional, default = 1

quantity

pattern optiona

Output pattern %d - qty, %w - word.