Hello Robert,

which Zanata version you are using? In Zanata 4.3.3 I can upload HTML, translate things and download the language specific version, i.e.

https://translate-dev.openstack.org/rest/file/translation/file-check/master/de/baked?docId=Translating_HTML_files.html

kind regards

Frank

PS: Project doc type must be "file"


Am 2018-12-02 21:54, schrieb Robert Koch:
I've uploaded two HTML documents for translation. However, when
downloading translated assets via Web-Interface or Zanata CLI (zanata
pull), I just get po files. How can I get the original HTML document
with translated strings?


I've found various possibilities, but I failed accomplishing my goal:

* Raw documents:
http://docs.zanata.org/en/release/user-guide/documents/raw-documents/

--> Failed as I don't understood how to retrieve the raw document.


* Zanata REST API: http://zanata.org/zanata-platform/rest-api-docs/

--> There is a
"/file/translation/{projectSlug}/{iterationSlug}/{locale}/{fileType}"
where {fileType} could be baked, half_baked or po. Sounds interesting -
however, how do I get this REST call running? "translate.zanata.org"
does not seem to be a valid endpoint.


* Localization Workflow:
https://github.com/zanata/zanata-platform/wiki/Localization-Workflow

--> "publican" seems to support doing something with PO-files and HTML -
but I failed to get something running.


* Documentation Internationalization:
https://jareddillard.com/blog/documentation-internationalization-using-sphinx-and-zanata.html

--> Does generate HTML - can it be used for my use case?


Please guide me into right direction.

BR Robert



_______________________________________________
zanata-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/zanata-users

_______________________________________________
zanata-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/zanata-users

Reply via email to