Re: plural forms translation, ngettext

2018-10-30 Thread Caolán McNamara
On Tue, 2018-10-23 at 12:36 +0200, Christian Lohmaier wrote: > No issue with pootle, but pocheck needs to be taught to deal with it. Ah, https://gerrit.libreoffice.org/#/c/62637/ conflicted because this is already dealt with :-) ___ LibreOffice mailing

Re: plural forms translation, ngettext

2018-10-23 Thread Christian Lohmaier
Hi *, On Fri, Oct 5, 2018 at 5:09 PM Caolán McNamara wrote: > > I was asked in > https://bugs.documentfoundation.org/show_bug.cgi?id=83128 about > supporting ngettext-alike plural forms. > > https://gerrit.libreoffice.org/#/c/61426/ is my proposal on that. > […] > caolanm->cloph: would this work

Re: plural forms translation, ngettext

2018-10-05 Thread Khaled Hosny
On Fri, Oct 05, 2018 at 03:57:20PM +, Kaganski Mike wrote: > On 10/5/2018 6:09 PM, Caolán McNamara wrote: > > To current NC_(context, string) we add NNC_(context, singular, plural) > > when declaring the strings for translation > > How does it play with other languages, where we might have mor

Re: plural forms translation, ngettext

2018-10-05 Thread Kaganski Mike
On 10/5/2018 6:09 PM, Caolán McNamara wrote: > To current NC_(context, string) we add NNC_(context, singular, plural) > when declaring the strings for translation How does it play with other languages, where we might have more complex rules? E.g., in Russian, a "singular" form might be used for a

plural forms translation, ngettext

2018-10-05 Thread Caolán McNamara
I was asked in https://bugs.documentfoundation.org/show_bug.cgi?id=83128 about supporting ngettext-alike plural forms. https://gerrit.libreoffice.org/#/c/61426/ is my proposal on that. To current Translate::get(id) we add Translate::nget(id, cardinality) when requesting the translation. To curr