Modern javascript i18n localization library based on ES6 tagged templates and the good old GNU gettext. Just tag your strings to make them translatable. Use a simple ttag-cli tool for translation extraction. Can be easily integrated with almost any workflow as it uses the babel-plugin for string extraction. Can be easily used with the typescript. Allows you to place translations into the sources on a build step. Gettext is a simple localization format with a rich ecosystem. Ttag has support for plurals, contexts, translator comments, and much more.

Features

  • Uses ES6 template literals for string formatting (no need for sprintf)
  • It can precompile translations on a build step
  • It can be integrated in any build tool that works with babel
  • Has a builtin validation for translated strings format
  • It can use any default locale in sources (not only English)
  • Handles React (jsx) translations
  • Can be easily integrated with Create React App. CRA doc

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ttag

ttag Web Site

Other Useful Business Software
Find out just how much your login box can do for your customer | Auth0 Icon
Find out just how much your login box can do for your customer | Auth0

With over 53 social login options, you can fast-track the signup and login experience for users.

From improving customer experience through seamless sign-on to making MFA as easy as a click of a button – your login box must find the right balance between user convenience, privacy and security.
Sign up
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ttag!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Localization (L10N) Software, TypeScript Libraries

Registered

2024-07-12