Skip to content
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

Bad line synchronisation in translation #19

Open
rhl-bthr opened this issue Jan 11, 2019 · 1 comment
Open

Bad line synchronisation in translation #19

rhl-bthr opened this issue Jan 11, 2019 · 1 comment

Comments

@rhl-bthr
Copy link

Moved from sugar/#767,

Update: Version: 0.108.1 windows x86_64 (64-bit)
Activity: Words
Activity Version: 21
Translating from English to Hindi, the translator reads an English phrase instead of reading the Hindi translation of the word. However, this only happens if the translated word and phrase are on different lines. If they are on the same line then it works fine. I'm not sure how to take a video of my problem without using another device.

@quozl
Copy link
Contributor

quozl commented Oct 18, 2019

First report of this problem was by Tabitha Roder at the Auckland testing event on 21st August 2010.

Problem depends on the word being searched for. The word child is one example.

tmp

Result is English text spoken "He has only one child.", which is the only line that starts with whitespace.

Cause is that the __speak_translation_cb function strips out the lines that don't start with whitespace.

Exactly what the function should do will depend on the data, and there's a lot of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants