New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP-1444: Localized Messaging with Signal-to-Text #1444

Merged
merged 11 commits into from Oct 15, 2018

Conversation

Projects
None yet
2 participants
@expede
Contributor

expede commented Sep 24, 2018

The text of the EIP is fairly lengthy. The full text is available as the file eip-1444.md.

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. revert). End user experience is enhanced by providing text that can be propagated up to the UI.

                                                                   +--------------+
                                                                   |              |
                                                          +------> | Localization |
                                                          |        |              |
                                                          |        +--------------+
                                                          |
                                                          |
+-----------+          +-------------------------+        |        +--------------+
|           |          |                         | <------+        |              |
| Requestor | <------> | LocalizationPreferences | <-------------> | Localization |
|           |          |                         | <------+        |              |
+-----------+          +-------------------------+        |        +--------------+
                                                          |
                                                          |
                                                          |        +--------------+
                                                          |        |              |
                                                          +------> | Localization |
                                                                   |              |
                                                                   +--------------+

@expede expede changed the title from Localized signal-to-text to EIP-1444: Localized Messaging with Signal-to-Text Sep 24, 2018

expede added some commits Sep 24, 2018

@Arachnid Arachnid merged commit aa558ef into ethereum:master Oct 15, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment