polyglot
Give your JavaScript the ability to speak many languages. (by airbnb)
jsLingui
🌍 📖 A readable, automated, and optimized (3 kb) internationalization for JavaScript (by lingui)
Our great sponsors
polyglot | jsLingui | |
---|---|---|
2 | 9 | |
3,644 | 4,204 | |
0.2% | 1.7% | |
1.1 | 8.8 | |
5 months ago | 4 days ago | |
JavaScript | TypeScript | |
BSD 2-clause "Simplified" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
polyglot
Posts with mentions or reviews of polyglot.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-26.
-
Reverse-Engineering Airbnb’s Internationalization Library
You'll find many code snippets below. Most of them come from the source code of Polyglot itself. This article aims to give you more explanations about that code, its purpose, and its use.
-
I will pay you cash to delete your npm module
The bloat comes from a minority of package authors with attitudes like this: https://github.com/airbnb/polyglot.js/pull/150
jsLingui
Posts with mentions or reviews of jsLingui.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-09.
-
What is the best way to handle a multi-language site?
https://lingui.dev/ by far.
-
Advanced enterprise localisation process with Lingui, Locize, Github Actions, Docker, React
We choose lingui.
- We will OSS the NextJs + web3 starter kit
-
Next.js internationalization (i18n) tutorial
As we mentioned earlier, the Next.js works well with existing i18n libraries (react-intl, lingui, next-intl, and similar). In this tutorial, we will use the react-intl.
-
I want multiple language support for my React project, what's the best way of doing it?
We use LinguiJS on a medium sized project and find it to work really well. It’s small, supports multiple message formats, has CLI scripts for extracting message ids from source, JS apis, Babel macros, React components and hooks, webpack and snowpack plugins, good pluralization support and much more.
-
Handling i18n the proper way
I really like https://lingui.js.org/. It will create the .json or .po for you. And the component is just 😍.
-
which solutions do you use for i18n in typescript?
I'm a fan of Lingui. I use it for instant.bible.
-
Best Libraries for React I18n in 2021
Lingui JS
-
i18n and Next.js
lingui
What are some alternatives?
When comparing polyglot and jsLingui you can also consider the following projects:
i18next - i18next: learn once - translate everywhere
react-i18next - Internationalization for react done right. Using the i18next i18n ecosystem.
React Intl - The monorepo home to all of the FormatJS related libraries, most notably react-intl.
babelfish - human friendly i18n for javascript (node.js + browser)
nextjs-monorepo-example - Collection of monorepo tips & tricks
ttag - :orange_book: simple approach for javascript localization
next-i18next - The easiest way to translate your NextJs apps.
attranslate - A command line tool for translating JSON, YAML, CSV, ARB, XML (via a CLI)
svelte-i18n - Internationalization library for Svelte