Hi all,

I am still trying to fix apertium-omegat.

I decided updating lttoolbox-java to the lastest version was a good idea,
because lttoolbox-java.jar in apertium-omegat/lib is older than the first
version of lttoolbox-java on the svn. I found 2 issues while doing so:

   - Translations replace whitespace with numbers. In
   OmegatFormatter.deFormat, lines 101 and 110, the command
   spaceWrite.append(currentChar); appends the numeric value of the whitespace
   characters, rather than the proper char (32 rather than ' '). It looks like
   reFormat does nothing to fix this. I thing both lines should
   read spaceWrite.append((char)currentChar); , however I am unsure of
   possible side effects.
   - Sometimes, a "wrong number of arguments" exception is thrown during
   the transfer. I am unsure about how to proceed, because, according to
   Jacob's comments, reflection is being used to execute bytecode. When I look
   into the apertium-xx-xx.jar files apertium-omegat plugin downloaded, they
   have files from late 2012. Could it be a lttolbox version mismatch? Should
   those files be updated? Who keeps
    https://svn.code.sf.net/p/apertium/svn/builds/
   <https://svn.code.sf.net/p/apertium/svn/builds/>?


Thanks a lot.
------------------------------------------------------------------------------
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to