@blazetrails/i18n
Port of the Ruby i18n gem: Config, exceptions
| Measure | Value |
|---|---|
| Rails counterpart | i18n v1.14.8 |
| API methods matched | 100% (395 of 395) |
| Rails tests matched | 100% (324 of 324) (1 permanent) |
| Ruby files ported | 27 |
| Ruby files unported | 0 |
| Measured at | fe89b44726 |
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.
| Tag | PERMANENT | CONVERGEABLE | none |
|---|---|---|---|
@noRailsEquivalent | 9 | 0 | 0 |
@missingRailsCall | 2 | 0 | 0 |
@missingRailsArgs | 2 | 0 | 0 |
@missingRailsName | 2 | 0 | 0 |
@inventedArm | 0 | 1 | 0 |
@internal | 0 | 0 | 61 |
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: