Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ttag not mentioned as an alternative in README #53

Open
andrewperry opened this issue Oct 31, 2021 · 3 comments
Open

ttag not mentioned as an alternative in README #53

andrewperry opened this issue Oct 31, 2021 · 3 comments

Comments

@andrewperry
Copy link

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

@guillaumepotier
Copy link
Owner

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

@kevinlul
Copy link

@guillaumepotier
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants