Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
EIP-1444: Localized Messaging with Signal-to-Text #1444
The text of the EIP is fairly lengthy. The full text is available as the file
After consultation with the community on ERC-1066 and ERC-1400, teams from the extending tooling ecosystem, and others, localized messages is being expanded and split into its own EIP. This standard allows anyone to convert machine-efficient messages to human-readable codes, directly on the EVM. It does not create a central registry for translations, opting instead for decentralized localizations for a variety of purposes. We’re attempting to keep this EIP focused, and other are free to build on top of it.
Excerpts from the EIP
There are many cases where an end user needs feedback or instruction from a smart contact. Directly exposing numeric codes does not make for good UX or DX. If Ethereum is to be a truly global system usable by experts and lay persons alike, systems to provide feedback on what happened during a transaction are needed in as many languages as possible.
Returning a hard-coded string (typically in English) only serves a small segment of the global population. This standard proposes a method to allow users to create, register, share, and use a decentralized collection of translations, enabling richer messaging that is more culturally and linguistically diverse.
There are several machine efficient ways of representing intent, status, state transition, and other semantic signals including booleans, enums and ERC-1066 codes. By providing human-readable messages for these signals, the developer experience is enhanced by returning easier to consume information with more context (ex.