6 Replies Latest reply on Jun 15, 2012 2:55 PM by Julien Herr

    Errors with generation of Weld translations

    Julien Herr Newbie

      Hi !

       

      I hope I post in the good section.

       

      In order to improve the french translation, I would like to generate Weld translations.

       

      I followed the guideline (with zanata rather than flies) and I had the following message:

      [INFO] 
      [INFO] --- maven-jdocbook-plugin:2.3.3:translate (default) @ weld-reference-guide ---
      terminate called after throwing an instance of 'antlr::TokenStreamRecognitionException'
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 31.068s
      [INFO] Finished at: Sat Jun 09 17:20:32 CEST 2012
      [INFO] Final Memory: 10M/81M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.3:translate (default) on project weld-reference-guide: Unexpected problem: unable to execute po2xml : Process exited with an error: 134(Exit value: 134) -> [Help 1]
      [ERROR] 
      

       

      I can reproduce this problem with te command:

      $ po2xml target/draft/en-US/Book_Info.xml target/draft/fr-FR/Book_Info.po 
      terminate called after throwing an instance of 'antlr::TokenStreamRecognitionException'
      Abort trap
      $ 
      

      The problem is identical with other languages, files or either SCM tags.

       

      I think it is po2xml command problem but I had the same problem with lot of different up-to-date OS (Debian, Ubuntu, Fedora 32bits, Fedora 64bits and MacOS).

       

      Is someone could generate the weld translations and explain to me his secret ?

       

      Thanks !