gettext.js icon indicating copy to clipboard operation
gettext.js copied to clipboard

ttag not mentioned as an alternative in README

Open andrewperry opened this issue 3 years ago • 3 comments

Just wondering if there's a comparison with https://github.com/ttag-org/ttag - it's not mentioned in the README under "Why another i18n javascript library?" like Jed and i18n-next - very interested in your take on that project by comparison

andrewperry avatar Oct 31 '21 17:10 andrewperry

Hi @andrewperry, thanks for your issue.

If you look closely, gettext.js started back in 2014, while ttag seems to begin in 2017.

After giving a quick look, this lib seems pretty solid, and maybe more active than this one.

On an other hand, it seems a little bit heavier in production, and documentation is very thin, I dunno if it embeds all the original gettext magic (appart context, plurals and ES6 synthax (wow :p)).

Please let me know if you find something more useful there that lacks gettext.js

Best

guillaumepotier avatar Nov 03 '21 14:11 guillaumepotier

What about https://github.com/alexanderwallin/node-gettext?

kevinlul avatar May 25 '22 00:05 kevinlul

What about https://github.com/alexanderwallin/node-gettext?

The lib you referenced is aimed for node backend purpose only, meanwhile this one is for frontend and aim to be very lightweight and minimalist. Plus I really don't get the huge plurals.js file in the lib you referenced

guillaumepotier avatar May 25 '22 08:05 guillaumepotier