{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/i18n-js/","markdown":"https://findsoftware.frbit.cloud/i18n-js.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"i18n-js","name":"i18n-js","urls":{"repository":"https://github.com/fnando/i18n-js","docs":"https://github.com/fnando/i18n-js/blob/main/README.md"},"category":["library"],"description":"Ruby gem that exports i18n translations to JSON files for use in JavaScript, with Rails support.","maintainer":"Nando Vieira","maintainerType":"individual","firstRelease":2010,"language":"ruby","runtime":["ruby"],"runtimeMin":"ruby 3.2","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":["local"],"renderingModes":null,"installMethod":"Gemfile (Bundler), gem install","licenseModel":"open-source","license":"MIT","currentMajor":"4","latestReleaseDate":"2025-10-31T00:00:00.000Z","githubStargazers":3808,"contributors":10,"packagistDownloads":null,"npmWeeklyDownloads":null,"dependentRepos":2328,"dependentPackages":31,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/fnando/i18n-js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://github.com/fnando/i18n-js/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/fnando/i18n-js/git/tags/a0e605712fc7a6dfca81528834ce718d0c287d50","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/fnando/i18n-js/main/LICENSE.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/fnando/i18n-js/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/fnando/i18n-js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/fnando/i18n-js/v4.2.4/i18n-js.gemspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://raw.githubusercontent.com/fnando/i18n-js/v4.2.4/i18n-js.gemspec","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/fnando/i18n-js/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/fnando/i18n-js/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runsAs","url":"https://github.com/fnando/i18n-js/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://rubygems.org/api/v1/gems/i18n-js.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/fnando/i18n-js/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://rubygems.org/api/v1/gems/i18n-js.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://rubygems.org/api/v1/versions/i18n-js.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/fnando/i18n-js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/fnando/i18n-js/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/i18n-js","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/i18n-js","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"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.\n\n## Worth knowing\n\nThe 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."}