A Type-safe i18n library

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • onyxia-web

    Discontinued 🥼 A data oriented cloud platform [Moved to: https://github.com/InseeFrLab/onyxia]

    That's definitely a trade off. Because i18nifty enables to use React components and JS logic we are not compatible with third party translation services like https://locize.com/ https://lokalise.com/ or https://simplelocalize.io/. However, I think it is worth it. It makes life easy for the devs and get cleaner code in exchange for having to pay a bit more to for translation services. That said, if you can get someone that can edit JSON and if you can put him behind a setup with GitHub Copilot enabled, AI assisted translation goes very smoothly. And with GitHub Codespace it's not hard to get a working dev environment for any project. We had no problem getting our app translated into Chinese but I admit that it makes things harder for big closed source software.

  • simplelocalize-cli

    SimpleLocalize CLI is a developer-friendly command-line tool for uploading and downloading translation files

    That's definitely a trade off. Because i18nifty enables to use React components and JS logic we are not compatible with third party translation services like https://locize.com/ https://lokalise.com/ or https://simplelocalize.io/. However, I think it is worth it. It makes life easy for the devs and get cleaner code in exchange for having to pay a bit more to for translation services. That said, if you can get someone that can edit JSON and if you can put him behind a setup with GitHub Copilot enabled, AI assisted translation goes very smoothly. And with GitHub Codespace it's not hard to get a working dev environment for any project. We had no problem getting our app translated into Chinese but I admit that it makes things harder for big closed source software.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • typesafe-i18n

    A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.

    When it comes to typesafe alternatives I highly recommend checking out typesafe-i18n. It's the best fully-typed solution I've seen up to date. It's much lighter (1.3 KB vs 22 KB), framework-agnostic (has adapters for React, Vue, Svelte and more), fully-featured and very well maintained.

  • Talkr

    Talkr is the lightest i18n provider for React applications. It supports Typescript, provides autocompletion, has 0 dependencies, and is very easy to use.

    There is already Talkr, which has no dependencies, is lighter, and supports deeply nested keys for autocompletion.

  • i18next

    i18next: learn once - translate everywhere

    A i18n (Internationalization and translation) library is a tool that let your app support multiple language. Most peoples use i18next but it doesn't feature good TypeScript support, i18nifty does.

  • tss-react

    ✨ Dynamic CSS-in-TS solution, based on Emotion

    I'm not big on splitting things in neat little modules. Before we had logic.js structure.htm, styles.css then React suggested that logic and structure should be in the same file, it was the right move. Styles, in my oppignion, should be done in JS as well as well. I think that queries shouldn't be mangled with the UI stuffs.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts