Difference between revisions of "Apertium OmegaT Native"

From Apertium
Jump to navigation Jump to search
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Tested on OmegaT 3.6.0 on Windows and macOS with latest Java 8.
Tested on OmegaT 4.1.0 on Windows and macOS with latest Java 8.


== Install OmegaT ==
== Install OmegaT ==
* '''Windows''': http://www.omegat.org/en/download_selector/win_nojre.php - pick ''Standard''
* Go to http://omegat.org/download, pick the one that suits you.
** If your Mac OS is older than 10.7, you need to [https://support.apple.com/kb/DL1572?locale=en_US Download Java]
* '''macOS''': http://www.omegat.org/en/download_selector/osx.php - pick ''Standard''


== Install the Apertium plug-in ==
== Install the Apertium plug-in (Needed for machine translation) ==
* '''Download''' this jar file: [https://apertium.projectjj.com/apertium-omegat-native.jar apertium-omegat-native.jar]
* '''Download''' this file: [https://apertium.projectjj.com/apertium-omegat-native.jar apertium-omegat-native.jar] (the same file for Windows and Mac)
* '''Windows''': Copy the jar file to <code>C:\Program Files (x86)\OmegaT\plugins</code>
* '''Copy''' the file to the OmegaT plugins folder, which
* '''macOS''': Copy the jar file to <code>/Applications/OmegaT.app/Contents/Java/plugins</code>
** on '''Windows''' is here: <code>C:\Program Files (x86)\OmegaT\plugins</code>
** on '''macOS''' is here: <code>~/Library/Preferences/OmegaT/plugins</code> (create the dir if it's not there)
** on ''Linux'' it would be <code>~/.omegat/plugins</code> but this project doesn't yet support Linux[https://github.com/apertium/apertium-omegat-native/issues/3]


== Using OmegaT with Apertium ==
== Using OmegaT with Apertium ==


* From the '''Options''' menu, select '''Apertium Native (nightly)...'''. From the popup, click '''Install''' on the language pair you want to install.
# From the '''Options''' menu, select '''Apertium Native (nightly)...'''. From the popup, click '''Install''' on the language pair you want to install.
* From the '''Options''' menu, select '''Machine Translate''', and enable '''Apertium Native (nightly)'''.
# From the '''Options''' menu, select '''Machine Translate''', and enable '''Apertium Native (nightly)'''.
* Then make a translation project via the ''Project > New'' menu.
# Then make a translation project (= a folder for your files) via the ''Project > New'' menu.
* At this point, you should be advicd to read the [http://www.omegat.org/en/documentation.php OmegaT documentation] (yes, it helps)
# At this point, you should be adviced to read the [https://omegat.org/documentation OmegaT documentation] (yes, it helps)



== Source ==
== Source ==
Line 24: Line 25:
== Known Bugs ==
== Known Bugs ==
* <s>'''Windows''': <code>apertium-transfer</code> has issues with UTF-8 streams. Will be fixed.</s> ''Fixed as of Apertium r74180.''
* <s>'''Windows''': <code>apertium-transfer</code> has issues with UTF-8 streams. Will be fixed.</s> ''Fixed as of Apertium r74180.''
* '''Mac''': The ''Install Language Pairs'' window under ''Options > Apertium Native (Nightly)'' is too small, * the rightmost boxes on each line are not visible. On Windows, the size is right.
* '''Mac''': Different types of formatting marks show up as <f0/>, <t1/> and similar tags, and the give rise to ''Error: Input is empty - nothing to parse!'' in the MT window .This happens when the original has e.g. hyperlinks or non-ascii letters.

Latest revision as of 12:25, 24 March 2021

Tested on OmegaT 4.1.0 on Windows and macOS with latest Java 8.

Install OmegaT[edit]

Install the Apertium plug-in (Needed for machine translation)[edit]

  • Download this file: apertium-omegat-native.jar (the same file for Windows and Mac)
  • Copy the file to the OmegaT plugins folder, which
    • on Windows is here: C:\Program Files (x86)\OmegaT\plugins
    • on macOS is here: ~/Library/Preferences/OmegaT/plugins (create the dir if it's not there)
    • on Linux it would be ~/.omegat/plugins but this project doesn't yet support Linux[1]

Using OmegaT with Apertium[edit]

  1. From the Options menu, select Apertium Native (nightly).... From the popup, click Install on the language pair you want to install.
  2. From the Options menu, select Machine Translate, and enable Apertium Native (nightly).
  3. Then make a translation project (= a folder for your files) via the Project > New menu.
  4. At this point, you should be adviced to read the OmegaT documentation (yes, it helps)

Source[edit]

Known Bugs[edit]

  • Windows: apertium-transfer has issues with UTF-8 streams. Will be fixed. Fixed as of Apertium r74180.
  • Mac: The Install Language Pairs window under Options > Apertium Native (Nightly) is too small, * the rightmost boxes on each line are not visible. On Windows, the size is right.
  • Mac: Different types of formatting marks show up as <f0/>, <t1/> and similar tags, and the give rise to Error: Input is empty - nothing to parse! in the MT window .This happens when the original has e.g. hyperlinks or non-ascii letters.