ttag icon indicating copy to clipboard operation
ttag copied to clipboard

Is it possible to use `jt` with plural forms?

Open anilanar opened this issue 6 years ago • 1 comments

I couldn't find anything in the docs. Or can we use ngettext with JSX? e.g:

const countButton = <Button>{count}</Button>;
const result = 
  <div>
   {ngettext(msgid`${countButton} time`, `${countButton} times`, count)}
  </div>;

anilanar avatar Apr 10 '19 15:04 anilanar

Hi @anilanar! Currently, there is no such feature. I think that our library should have that. Will try to implement that soon.

AlexMost avatar Apr 10 '19 19:04 AlexMost