EE 1
EE 2
MX Plural

Developer

Max Lazar

3rd Party (Free)

MIT License

Compatibility

Requirements

  • jQuery for the Control Panel

Categories

Plugin

Tags

MX Plural allows you to choose correct plural form of words in different languages.

Languages Supported:
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)
 
  Parameters:
 
  lang_id(required) language ISO code
  str(required) Words forms separated with |
  qty(optional, default = 1) quantity
  pattern (optional) Output pattern %d - qty, %w - word.
 
  Examples:

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

  output:  maison

{exp:mx_plural lang_id "fr" qty "5" str "maison|maisons" pattern "%d %w"

  output: 5 maisons

{exp:mx_plural lang_id "pl" qty "5" str="dom|domy|domow" pattern "%d %w" 

  output: 5 domow

{exp:mx_plural lang_id "pl" qty "1" str "dom|domy|domow" pattern "%d %w"

  output: 1 dom

{exp:mx_plural lang_id "pl" qty "24" str "dom|domy|domow" pattern "%d %w"

  output: 24 domy

MX Plural Links

This entry was created November 29, 2010, 12:27 pm.
This entry was last updated March 8, 2011, 4:45 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!