Hi Jean,

The XML project type is for Zanata's specific XML format. It is used mainly
for testing of the API since it is the format that the command-line clients
use to send translations that are extracted from different file formats.
Unless you have XML that was created by the Zanata client, the "XML"
project type will not work for you.

If you let us know which XML structure your translations use, or which tool
was used to generate them, we can help to find the right configuration for
you to use.



Cheers,

David Mason
Software Engineer
L10n Engineering

Red Hat, Asia-Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane 4000

On Wed, Apr 6, 2016 at 7:49 AM, Alex Eng <a...@redhat.com> wrote:

> Is it possible to attached your zanata.xml file and also our project files
> that you wish to push?
>
>
> ---------------------------------------------
>
> Alex Eng
> Senior Software Engineer
> Globalisation Tools Engineering
> DID: +61 3514 8262 <callto:+61+3514+8262>
> Mobile: +614 2335 3457 <callto:+614+2335+3457>
>
> Red Hat, Asia-Pacific Pty Ltd
> Level 1, 193 North Quay
> Brisbane 4000
> Office: +61 7 3514 8100 <callto:+61+7+3514+8100>
> Fax: +61 7 3514 8199 <callto:+61+7+3514+8199>
> Website: www.redhat.com
>
> On Wed, Apr 6, 2016 at 2:23 AM, Jean Yim <jean....@corp.ovh.com> wrote:
>
>> Hi,
>>
>> I got a question again.. Sorry..
>>
>>
>> I'm trying to upload a xml file on Zanata.
>>
>> But, with the client I got this error :
>>
>> [ERROR] Execution failed: javax.xml.bind.UnmarshalException:
>> unexpected element
>> (uri:"http://zanata.org/namespace/config/";, local:"config").
>> Expected elements are
>> <{http://zanata.org/namespace/api/gettext/}header-entry>,
>> <{http://zanata.org/namespace/api/}person>,
>> <{http://zanata.org/namespace/api/gettext/}po-target-header>,
>> <{http://zanata.org/namespace/api/gettext/}pot-entry-header>,
>> <{http://zanata.org/namespace/api/}resource>,
>> <{http://zanata.org/namespace/api/}translations>
>>
>>
>> I followed all the instructions... My project is set on xml etc...
>>
>>
>> Again, I tried to upload it by the application, but still, "upload failed"
>>
>> And I tested with a project type "file" and "xml"
>>
>>
>> Could you help me.. ?
>>
>> Thanks!
>>
>>
>> ------------------------------
>> *De :* zanata-devel-boun...@redhat.com <zanata-devel-boun...@redhat.com>
>> de la part de Jean Yim <jean....@corp.ovh.com>
>> *Envoyé :* mardi 5 avril 2016 15:31
>> *À :* Alex Eng
>> *Cc :* zanata-devel@redhat.com
>> *Objet :* Re: [zanata-devel] Zanata and questions
>>
>>
>> Just for you to know. I found the answer.
>>
>> In fact, when you run the install.sh he will dl the zanata.war
>>
>> But the zanata.war isn't good anymore, the link has moved.
>>
>> I fix that on my server but I think it's a big issue for beginners.
>>
>>
>>
>>
>> ------------------------------
>> *De :* Jean Yim
>> *Envoyé :* mardi 5 avril 2016 10:18
>> *À :* Alex Eng
>> *Cc :* zanata-devel@redhat.com
>> *Objet :* RE: [zanata-devel] Zanata and questions
>>
>>
>> Ps :
>> This is the error :
>>
>> Caused by: java.util.zip.ZipException: error in opening zip file
>>     at java.util.zip.ZipFile.open(Native Method)
>> [rt.jar:1.8.0_72-internal]
>>     at java.util.zip.ZipFile.<init>(ZipFile.java:219)
>> [rt.jar:1.8.0_72-internal]
>>     at java.util.zip.ZipFile.<init>(ZipFile.java:149)
>> [rt.jar:1.8.0_72-internal]
>>     at java.util.zip.ZipFile.<init>(ZipFile.java:163)
>> [rt.jar:1.8.0_72-internal]
>>     at org.jboss.vfs.VFSUtils.unzip(VFSUtils.java:874)
>> [jboss-vfs-3.2.9.Final.jar:3.2.9.Final]
>>     at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:504)
>> [jboss-vfs-3.2.9.Final.jar:3.2.9.Final]
>>     at org.jboss.vfs.VFS.mountZipExpanded(VFS.java:533)
>> [jboss-vfs-3.2.9.Final.jar:3.2.9.Final]
>>     at
>> org.jboss.as.server.deployment.DeploymentMountProvider$Factory$ServerDeploymentRepositoryImpl.mountDeploymentContent(DeploymentMountProvider.java:108)
>> [wildfly-server-1.0.1.Final.jar:1.0.1.Final]
>>     at
>> org.jboss.as.server.deployment.module.DeploymentRootMountProcessor.deploy(DeploymentRootMountProcessor.java:91)
>> [wildfly-server-1.0.1.Final.jar:1.0.1.Final]
>>
>>
>>
>> ------------------------------
>> *De :* Jean Yim
>> *Envoyé :* mardi 5 avril 2016 10:12
>> *À :* Alex Eng
>> *Cc :* zanata-devel@redhat.com
>> *Objet :* RE: [zanata-devel] Zanata and questions
>>
>>
>> Perfect, thank you very much for the answer!
>>
>>
>> Also, I'm trying to install it on a debian serv. I use Wildfly 9 and
>> OpenJdk 8.
>>
>> But it seems to have a problem...
>>
>> When I run Wildfly, he can't load Zanata.war because of a problem in
>> opening/reading zip in a java method.
>>
>> Do you have an idea ? (Maybe try oracle java..)
>>
>>
>> Thanks you again!
>>
>> Jean
>>
>>
>> ------------------------------
>> *De :* Alex Eng <a...@redhat.com>
>> *Envoyé :* lundi 4 avril 2016 23:03
>> *À :* Jean Yim
>> *Cc :* zanata-devel@redhat.com
>> *Objet :* Re: [zanata-devel] Zanata and questions
>>
>>
>> On Mon, Apr 4, 2016 at 7:45 PM, Jean Yim <jean....@corp.ovh.com> wrote:
>>
>>> I read than Zanata support partially XML, txt, etc...
>>>
>>> Is it really a problem or it's ok ?
>>>
>> Zanata supports different project types.
>> http://docs.zanata.org/en/release/user-guide/projects/project-types/
>>
>> XML/Xliff - Because it's a rare project type, and multiple types of
>> standard used for this project type, we implemented based on our knowledge
>> of the standard. But feel free to file an issue to us you find bug with
>> this project type.
>> We haven't received concern or issue from the user of these project type
>> but again, we've got limited user on these project type.
>>
>>> Finally, the translation memory can be trained with xliff files ? If
>>> yes, how ? (I didn't see it in the doc..)
>>>
>> Not sure if I understand your question correctly;
>> - If you asking about if translation uploaded in xliff project type will
>> be used as translation memory in Zanata, then yes.
>> All translations uploaded and updated in Zanata will be part of our
>> translation memory. (all translations in our database)
>>
>>
>>
>> ---------------------------------------------
>>
>> Alex Eng
>> Senior Software Engineer
>> Globalisation Tools Engineering
>> DID: +61 3514 8262 <callto:+61+3514+8262>
>> Mobile: +614 2335 3457 <callto:+614+2335+3457>
>>
>> Red Hat, Asia-Pacific Pty Ltd
>> Level 1, 193 North Quay
>> Brisbane 4000
>> Office: +61 7 3514 8100 <callto:+61+7+3514+8100>
>> Fax: +61 7 3514 8199 <callto:+61+7+3514+8199>
>> Website: www.redhat.com
>>
>
>
> _______________________________________________
> zanata-devel mailing list
> zanata-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/zanata-devel
>
_______________________________________________
zanata-devel mailing list
zanata-devel@redhat.com
https://www.redhat.com/mailman/listinfo/zanata-devel

Reply via email to