LibreOffice plugin to pipe whole Writer documents through Google Translate, that ought to keep most of the page formatting.

⌈⌋ branch:  PageTranslate


Check-in [8224584b9f]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:new dialogs for excpetion display and manual language selection
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8224584b9f80a2cf33badc38a06baa51de5c624c
User & Date: mario 2021-02-08 05:47:23
Context
2021-02-08
05:48
Add langdetect as dependency/bundle (used by mymemory) check-in: 3f3f41295e user: mario tags: trunk
05:47
new dialogs for excpetion display and manual language selection check-in: 8224584b9f user: mario tags: trunk
05:46
Add errors, update help tree check-in: fb718f90a0 user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added off/exceptions.xdl.



























>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="exceptions" dlg:left="135" dlg:top="91" dlg:width="164" dlg:height="123" dlg:closeable="true" dlg:moveable="true">
 <dlg:styles>
  <dlg:style dlg:style-id="0" dlg:font-name="Sans" dlg:font-stylename="Bold" dlg:font-family="swiss" dlg:font-weight="150"/>
 </dlg:styles>
 <dlg:bulletinboard>
  <dlg:text dlg:style-id="0" dlg:id="message" dlg:tab-index="0" dlg:left="5" dlg:top="3" dlg:width="153" dlg:height="22" dlg:help-url="vnd.sun.star.help://help/vnd.include-once.pagetranslate/errors.xhp?Language=en&amp;amp;System=UNIX&amp;amp;UseDB=no"/>
  <dlg:formattedfield dlg:id="exception" dlg:tab-index="1" dlg:left="4" dlg:top="28" dlg:width="154" dlg:height="65"/>
  <dlg:button dlg:id="Close" dlg:tab-index="2" dlg:left="103" dlg:top="102" dlg:width="54" dlg:height="13" dlg:value="OK"/>
  <dlg:linklabel dlg:id="help" dlg:tab-index="3" dlg:left="4" dlg:top="99" dlg:width="65" dlg:height="17" dlg:help-url="vnd.sun.star.help://help/vnd.include-once.pagetranslate/errors.xhp?Language=en&amp;amp;System=UNIX&amp;amp;UseDB=no" dlg:value="see help section on common errors" dlg:multiline="true"/>
 </dlg:bulletinboard>
</dlg:window>

Added off/langselect.xdl.















































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="langselect" dlg:left="135" dlg:top="91" dlg:width="208" dlg:height="40" dlg:closeable="true" dlg:moveable="true" dlg:title="Select translation languages">
 <dlg:styles>
  <dlg:style dlg:style-id="0" dlg:font-height="14" dlg:font-weight="150"/>
  <dlg:style dlg:style-id="1" dlg:border="simple" dlg:font-height="14" dlg:font-weight="150"/>
  <dlg:style dlg:style-id="2" dlg:font-name="Liberation Sans" dlg:font-height="20" dlg:font-stylename="Bold" dlg:font-family="swiss" dlg:font-weight="150"/>
 </dlg:styles>
 <dlg:bulletinboard>
  <dlg:menulist dlg:style-id="0" dlg:id="from" dlg:tab-index="0" dlg:left="15" dlg:top="10" dlg:width="44" dlg:height="15" dlg:spin="true">
   <dlg:menupopup>
    <dlg:menuitem dlg:value="de"/>
    <dlg:menuitem dlg:value="en"/>
    <dlg:menuitem dlg:value="fr"/>
    <dlg:menuitem dlg:value="it"/>
    <dlg:menuitem dlg:value="es"/>
    <dlg:menuitem dlg:value="fi"/>
   </dlg:menupopup>
  </dlg:menulist>
  <dlg:menulist dlg:style-id="1" dlg:id="lang" dlg:tab-index="2" dlg:left="90" dlg:top="10" dlg:width="44" dlg:height="15" dlg:spin="true" dlg:linecount="15">
   <dlg:menupopup>
    <dlg:menuitem dlg:value="de"/>
    <dlg:menuitem dlg:value="en"/>
    <dlg:menuitem dlg:value="fr"/>
    <dlg:menuitem dlg:value="it"/>
    <dlg:menuitem dlg:value="es"/>
    <dlg:menuitem dlg:value="gr"/>
    <dlg:menuitem dlg:value="tr"/>
    <dlg:menuitem dlg:value="ar"/>
    <dlg:menuitem dlg:value="uz"/>
    <dlg:menuitem dlg:value="zh-CN"/>
    <dlg:menuitem dlg:value="zh-TW"/>
   </dlg:menupopup>
  </dlg:menulist>
  <dlg:text dlg:style-id="2" dlg:id="Label1" dlg:tab-index="1" dlg:left="70" dlg:top="11" dlg:width="13" dlg:height="13" dlg:value="➜"/>
  <dlg:button dlg:id="ok" dlg:tab-index="3" dlg:left="160" dlg:top="10" dlg:width="35" dlg:height="17" dlg:value="OK"/>
  <dlg:button dlg:id="CommandButton1" dlg:tab-index="4" dlg:left="17" dlg:top="62" dlg:width="2" dlg:height="0" dlg:value="CommandButton1"/>
 </dlg:bulletinboard>
</dlg:window>