https://bugs.documentfoundation.org/show_bug.cgi?id=152247

            Bug ID: 152247
           Summary: Automatic translation does not work with our own
                    documentation guides
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Since october 12, we have a new functionality in LO 7.5 : automatic translation
using DeepL API.
The commit implementing that is
https://git.libreoffice.org/core/+/e20d2de7836da52dbf9e528d1043b1e188097bfd

It is easy to configure the function, once you have open an account at DeepL.
You can open a free account for 500.000 characters per month.

The remaining problems are how the translator send paragraphs to DeepL and
receive translated paragraphs from DeepL.

My test file is the preface avec the LO 7.3 guide :
https://wiki.documentfoundation.org/images/9/98/GS7300-Preface.odt

I identified at least 2 difficulties:
- translator does not like sections or/and fields. It seems that sections or
fields disrupt the paragraph flow so that the translator does not see the
paragraphs in the same order than the user, so it does not send and receive
paragraphs corresponding to what was selected.
- translator does not like lists : it adds an empty paragraph after each item.
As a consequence, if you select 6 paragraphs to translate, it receive only the
first three + 3 empty paragraphs.

Steps to Reproduce:
1.Open GS7300-Preface.odt
2.Menu Tools > Translate
3.Choose the target language
4.select the list in the second chapter
5.Tools > Translate

Actual Results:
After 3: Translator try to translate the whole document. You see many entries
from the ToC in place of the normal paragraphs.

After 5: you get only the half of translated paragraphs and an empty paragraph
after each translated paragraph.


Expected Results:
Does not replace a translated paragraph by another
Does not insert empty paragraph where there is not.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ae2d1315766581259756c819f0227270d344f4d4
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu_20.04_x86-64
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to