A Type-safe i18n library

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

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. 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.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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

  • Translating zod errors with next-intl

    5 projects | dev.to | 5 Mar 2024
  • Pains and solutions in localization for the web

    3 projects | dev.to | 13 Dec 2023
  • What's a good JS library for handling the quiz portion (grading, etc.) of an e-learning web application (needs to have multi-language support)?

    3 projects | /r/webdev | 13 Jul 2022
  • i18next Crash Course | the JavaScript i18n framework

    4 projects | dev.to | 6 Jun 2022
  • which solutions do you use for i18n in typescript?

    6 projects | /r/typescript | 29 Oct 2021