Bug 323102 - Translate function doesn't always work
Summary: Translate function doesn't always work
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.10.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-02 11:41 UTC by Michael D
Modified: 2013-10-22 12:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael D 2013-08-02 11:41:21 UTC
Often (but not always) when selecting some text within a message (in either the preview pane or the message in its own window), right clicking it and clicking "Translate...", the selection is not translated. Changing the language to a specific one or to "Detect language" and then clicking the Translate button likely has no effect at this point.

Sometimes the translate function works, but I cannot find any recognizable pattern as to when it does/doesn't work.

Reproducible: Always

Steps to Reproduce:
1. Select text within a message to translate
2. Right click the selection and then click "Translate..."
3. Ensure the appropriate language is selected from the dropdown
Actual Results:  
Often the selection is not translated

Expected Results:  
The selection is always translated
Comment 1 Laurent Montel 2013-08-02 11:55:11 UTC
paste text which doesn't work and le 'to language" -> "from language" please
Comment 2 Michael D 2013-08-02 12:10:53 UTC
I tried the following text:

"Met dank voor de meer dan prettige samenwerking"

with "from language" being "Detect language" and "to language" being English. When selecting Dutch as the "from language" specifically just now, it correctly translated the text. Often nothing happens.

I just tried another (longer) chunk of text with the "from language" on Dutch and the "to language" English. It didn't translate. When selecting "Detect language" as the "from language", it correctly translated it.
Comment 3 Laurent Montel 2013-08-02 12:18:04 UTC
I need test case which doesn't work :)
Otherwise I can't debug it.
I need exact text which doesn't work :)
Comment 4 Michael D 2013-08-05 14:50:49 UTC
Both didn't work on the first attempt of selecting text and clicking "Translate...". They worked only when I changed the language and clicked "Translate" again.
Comment 5 Laurent Montel 2013-10-22 12:08:26 UTC
4.10.5 is very old.
in 4.11 it worked better and in 4.12 I rewrite and debug all
Please retest with last version
Comment 6 Michael D 2013-10-22 12:12:14 UTC
The same problem occurs with 4.11.2. It could be the Kubuntu packages, though. It's never worked properly for me.