In our service, users can register names in different languages, but we want to use only English for display in internal systems. The following function will return a translated character or None if the character has no obvious translation.
def findTransliteration(letter: Char): Option[Char]
We need to implement a function that will take a string in a different language and return a translated string. All untranslatable characters must be skipped.
Find a higher-order method of the String type to help with this.