2

For Electrum-style mnemonic seeds, words start with a unique prefix, usually the first 3 or 4 letters, so that users can change the rest of the word. But what would happen with languages that are written from right to left, like Arabic, Persian and Hebrew? Would the code expect the end of the word to be unique? And would it be difficult to change the system to accommodate right-to-left scripts?

At the moment, the GUI has been translated into Arabic and Hebrew, but we don't have any word lists for mnemonic seeds in right-to-left languages.

2

It'd be interesting to see if it displays correctly, but the system should be the same. In RTL languages, the display is different, the ordering of letters or glyphs is not changed. The first glyph in a string is just displayed at the rightmost position, instead of the leftmost position. You would therefore have prefixes like in English.

1

Whether the language is RTL or LTR isn't really the issue. For example, if we take two words "hello" and "world", the first few letters uniquely identify each word. Even if you reversed the words letter-wise they are still uniquely identifiable.

To develop a new language wordlist you'd just need to ensure that each word, however it's laid out, the first few characters (taken LTR) uniquely identify the word. "hello", "olleh", "world", "dlrow" as an example.

  • Yeah, but in many languages word endings are not so unique. We want users to be able to change grammatical suffixes. Anyway, this is irrelevant if user36303's answer is correct and the character order in strings is defined independently from the display order. – ProkhorZ May 22 '18 at 10:11
  • We are both correct. My example was to demonstrate it doesn't matter how the letters are laid out as long as you choose words with uniqueness as the first characters seen LTR. – jtgrassie May 22 '18 at 10:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.