Difference between revisions of "Apertium OmegaT Native"

From Apertium
Jump to navigation Jump to search
 
(21 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.


== Plug-In Installation ==
== Install OmegaT ==
* Go to http://omegat.org/download, pick the one that suits you.
* '''Download''': [https://apertium.projectjj.com/apertium-omegat-native.jar apertium-omegat-native.jar]
** If your Mac OS is older than 10.7, you need to [https://support.apple.com/kb/DL1572?locale=en_US Download Java]
* '''Windows''': Copy jar to <code>C:\Program Files (x86)\OmegaT\plugins</code>
* '''macOS''': Copy jar to <code>/Applications/OmegaT.app/Contents/Java/plugins</code>


== Install the Apertium plug-in (Needed for machine translation) ==
== Language Pair Installation ==
* '''Download''' this file: [https://apertium.projectjj.com/apertium-omegat-native.jar apertium-omegat-native.jar] (the same file for Windows and Mac)
* From the '''Options''' menu, select '''Apertium Native (nightly)...'''. From the popup, click '''Install''' on the language pair you want to install.
* '''Copy''' the file to the OmegaT plugins folder, which
* From the '''Options''' menu, select '''Machine Translate''', and enable '''Apertium Native (nightly)'''.
** 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 ==

# 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)'''.
# Then make a translation project (= a folder for your files) via the ''Project > New'' menu.
# At this point, you should be adviced to read the [https://omegat.org/documentation OmegaT documentation] (yes, it helps)

== Source ==
* https://github.com/TinoDidriksen/apertium-omegat-native
* https://svn.code.sf.net/p/apertium/svn/trunk/apertium-omegat-native


== Known Bugs ==
== Known Bugs ==
* <s>'''Windows''': <code>apertium-transfer</code> has issues with UTF-8 streams. Will be fixed.</s> ''Fixed in Apertium 74180.''
* <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.