The ERC-7730 has gone through versions 1 and 2 without specifying the translation mechanism. For the future version 3, I believe it would be real nice to integrate a companion ERC like this one, so that we can have a foundation for multi-lingual Clear Signing.
master ← forshtat:add-erc7730-localization-files
opened 12:05AM - 23 Jul 26 UTC
## Summary
Companion specification to [ERC-7730](https://github.com/ethereum/ER… Cs/blob/master/ERCS/erc-7730.md), defining the translation file format referenced by its `$i18n` field:
- Translation file schema (superseding the draft schema that briefly lived under ERC-7730's own assets during v3 development).
- Dot-namespaced, snake_case translation keys, replacing raw-English-string keys.
- A reserved `common.` namespace for a future shared vocabulary package, with resolution precedence.
- Subresource-Integrity-style hashes on translation resource references.
- Required-languages list, BCP-47 lookup/fallback semantics, and placeholder-preservation rules.
## Test plan
- [ ] `erc7730-i18n-v1.schema.json` validated as well-formed Draft 2020-12 JSON Schema
- [ ] `example-main.fr.json` validated against the schema