uetchy/Polyglot

Transliteration

uetchy opened this issue · 4 comments

Show transliteration of source text that allow us to figure out how it be pronounced.

Would you be interested in a PR that adds transliteration support based on CFStringTokenizer: https://developer.apple.com/documentation/corefoundation/cfstringtokenizer?language=objc

For Japanese it would look like this:

transliteration

transliteration_2

It is not perfect but works most of the time.

I have not tried for other languages yet.

I'm not the maintainer of this project, but I think this is a useful feature.

It would save me opening Google Translate.

Now that I'm convinced of the usefulness of this feature, so well... here's a screenshot from my dev build.

ru/ja
Screen Shot 2021-01-25 at 1 24 50 PM

ja/en
Screen Shot 2021-01-25 at 1 04 38 PM

test build:
Polyglot 3.2.dmg.zip

Transliteration works well.

I'd like to see it presented visually different to the normal translation so that it is visually distinct. Perhaps using smaller text?