On Wed, Aug 3, 2016 at 3:19 PM, Dominique Pellé <dominique.pe...@gmail.com> wrote: > Sergey Alyoshin <alyoshi...@gmail.com> wrote: > >> Hello >> >> This patch add ngettext() support to allow localization with plural >> form, e.g. in folded line count message. > > That's the wrong way of fixing this in my opinion: > - It assumes that plural is n != 1. Rules for what's plural or singular > are different in different languages. > In English, plural is for n != 1. In French plural is for n >= 2 for > example. > - It assumes that there are only 2 forms (plurals and singular), but > several languages have more than 2 plural forms (Polish has 3 for example). > > The right way to fix it would be to use the plural form feature of gettext.
Actually it is ngettext() from libintl. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.