arb/arb_file library

In-memory representation of an ARB file.

ARB (Application Resource Bundle) is JSON with metadata. Each translation key has a value (the string itself) and an optional matching @key block describing it — see Dialect's convention in test/fixtures/canonical/dialect/dialect.yaml for the full shape.

This model is the substrate for every other v1.0 milestone:

  • dialect sync reads and writes it (M5).
  • dialect check validates structural and semantic rules on it (M4, M8).
  • dialect status computes coverage and stale counts from it (M6).
  • dialect serve exposes it over a REST API (M10).