Read a code aloud in the listener's language - #68
Merged
Merged
Conversation
The code is the same ten characters in every language; only the words that carry it change. The read-aloud section now offers seven listeners' languages, each with its own speakers' spelling table: German (DIN 5009, 2022), English (the international words), Spanish, French, Italian, Dutch and Swedish, with the digits as that language says them and its word for the check character. The choice is remembered and applies to the place, to an area and to the emergency card, which then reads the coordinates too in that language, digit by digit after the point. Every callout begins with its letter, as appendix D.2 requires, so the Italian table's alternative words replace the letter names it gives for H, J, K, W and X; a test holds every set to that. A line is spoken only in a voice for its language. With none on the device, the button is off, the words stay on screen and the speech engine's voice installer is one tap away.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
Core
Spellings.ktholds seven listeners' languages. Each has:aloud,aloudAreaand the newaloudCoordinatestake aSpelling.PlaceState.view(locale, listener)speaks every line in the listener's words. The emergency card gainssaid, its whole spoken line in the listener's language.App
Decisions
Checks