Ross ROSS = Recommend OSS · open-source software intelligence for agents

airbnb/polyglot.js

Give your JavaScript the ability to speak many languages. observed · 2026-08-28

github.com/airbnb/polyglot.js · homepage · JavaScript · BSD-2-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

55/100

  • Activity 50
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5088
  • days_rel: n/a
  • days_push: 301
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

3724 stars · 205 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Polyglot.js is a tiny I18n helper library for JavaScript that runs in both the browser and Node.js (CommonJS) environments. It manages dictionaries of already-translated phrases and provides message lookup with interpolation and pluralization rules, while remaining agnostic to any translation backend or service.

Use cases

  • translate my javascript app's ui strings into multiple languages
  • handle pluralization rules for different languages in js
  • interpolate variables into translated messages in the browser
  • manage per-locale phrase dictionaries for express requests
  • add lightweight i18n to a backbone or node app without a heavy framework
  • pass localized strings from a rails backend into client-side javascript

When to choose

  • You need a small, lightweight helper for string lookup, interpolation, and locale-aware pluralization in browser or Node code
  • You already obtain translations from another backend, service, or team and only need a way to store and retrieve phrases
  • You need isolated per-request locale instances on a server (e.g., Express) without concurrent requests clobbering each other's phrases

When to avoid

  • You expect the tool to translate text for you — it performs no translation and has no translation backend integration
  • You need full-featured i18n such as ICU MessageFormat, date/number/currency formatting, or message catalog extraction tooling
  • You want framework-level locale routing or built-in SSR language switching rather than a phrase-lookup helper

Facets

library · maturity stable

internationalization web-development frontend browser cross-platform i18n translation-phrases pluralization string-interpolation locale-management javascript-library lightweight localization nodejs

3 sources

Member repositories

RepositoryRoleHealth v2
airbnb/polyglot.jsmain55

For agents

markdown · JSON · MCP: product_card(name="airbnb/polyglot.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem