FindSoftware

i18n-js

Ruby gem that exports i18n translations to JSON files for use in JavaScript, with Rails support.

i18n-js exports the translations of a Ruby i18n setup to JSON files, so JavaScript can read the same messages. A YAML configuration lists the output files and the key patterns to include or exclude, and the output path can carry the locale and an MD5 digest of the file. The gem’s plugins can fill missing keys from the default locale and export other file formats through ERB templates, and a lint command lists keys that are missing from a locale.

Worth knowing

The script linter needs a Node.js runtime on the machine that runs it. The README also describes watchers (watchman, guard and listen) that rerun the export when locale files change, and a companion npm package for JavaScript-only use.

Identity

Status
Active
Maintainer
Nando Vieira4
Maintained by
Individual
First release
20103

Rendering and deploy

Runs as
Dev only2
Install with
Gemfile (Bundler), gem install2

Releases

Current major version
46
Last release
2025-10-317

Adoption

GitHub stars
3,8081
Contributors
108
Dependent repositories
2,3289
Dependent packages
319

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/fnando/i18n-js
  2. 2026-11-16: links, Categories, Install with, Runs as, License model
    github.com/fnando/i18n-js/blob/main/README.md
  3. 2026-11-16: First release
    api.github.com/repos/fnando/i18n-js/git/tags/a0e605712fc7a6dfca81528834ce718d0c287d50
  4. 2026-11-16: Maintainer
    raw.githubusercontent.com/fnando/i18n-js/main/LICENSE.md
  5. 2026-11-16: Runtime, Minimum runtime
    raw.githubusercontent.com/fnando/i18n-js/v4.2.4/i18n-js.gemspec
  6. 2026-11-16: License, Current major version
    rubygems.org/api/v1/gems/i18n-js.json
  7. 2026-11-16: Last release
    rubygems.org/api/v1/versions/i18n-js.json
  8. 2026-11-16: Contributors
    api.github.com/repos/fnando/i18n-js/contributors?per_page=1
  9. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/i18n-js

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON