Skip to content

@blazetrails/i18n ​

Port of the Ruby i18n gem: Config, exceptions

MeasureValue
Rails counterparti18n v1.14.8
API methods matched100% (395 of 395)
Rails tests matched100% (324 of 324) (1 permanent)
Ruby files ported27
Ruby files unported0
Measured atfe89b44726

Gaps by file ​

No gaps recorded for this package.

Missing methods ​

None recorded for this package.

Unported Ruby files ​

Every compared Ruby file has a TypeScript file.

Deviation receipts ​

JSDoc receipt tags in the package's source, by the receipt each carries.

TagPERMANENTCONVERGEABLEnone
@noRailsEquivalent900
@missingRailsCall200
@missingRailsArgs200
@missingRailsName200
@inventedArm010
@internal0061

Permanently skipped tests ​

None.

Ratified deviations ​

Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.

A translation lookup is synchronous; the load is an awaited step (I18n.translate) ​

I18n.translate (vendor/i18n/v1.14.8/lib/i18n.rb:212-226) is a synchronous hash walk over a loaded translation table, and Backend::Simple#lookup lazily loads that table inside the lookup — init_translations unless initialized? (vendor/i18n/v1.14.8/lib/i18n/backend/simple.rb:93-94). The load is I/O; the walk is not. trails puts the asynchrony at the load and nowhere else:

packages/i18n/CLAUDE.md →

Source ​

packages/i18n on GitHub →