kba / hocr-spec

The hOCR Embedded OCR Workflow and Output Format
http://kba.github.io/hocr-spec/1.2/
72 stars 20 forks source link

add chinese version for 1.1 #29

Closed wanghaisheng closed 7 years ago

wanghaisheng commented 7 years ago

pls check

kba commented 7 years ago

Great, thanks for your effort @wanghaisheng and @littlePP24.

I've made some minor adaptions to harmonize with the current state of the english translation and linked them from the README. I hope it's okay for you to equal country flag and language. If not, we can use text.

If you are interested in porting your changes to the current spec format, drop us a line in gitter. I do not think it would be much effort (mostly copy/replace) and you'd get a nice, accessible spec for the chinese-speaking developers, too.

wanghaisheng commented 7 years ago

sure,do you mean work according to files under https://github.com/kba/hocr-spec/tree/master/1.2 i do have a question ,what is the relationship between spec.md and index.bs ,index.html are index.html transformed by the other 3?

kba commented 7 years ago

spec.md contains the text of the spec, nothing else. If you want to add your translation, adapt this file and send a PR and I will think about how we organize the files and build setup, so the chinese translation could be at http://kba.github.io/hocr-spec/1.2/zh/ or http://kba.github.io/hocr-spec/1.2-zh/

metadata contains the metadata as understood by bikeshed.

We're using a Makefile that creates an HTML from the metadata, the biblio.json (containing references to other specs) and the text of the spec which is fed into bikeshed and creates the spec website.

This should be properly documented :-)

amitdo commented 7 years ago

This should be properly documented :-)

:+1:

kba commented 7 years ago

@wanghaisheng I prepared a skeleton chinese version in the 1.2-zh branch and made you a collaborator. You can add your changes directly to that branch, build instructions are in the README now. If you have any questions, ask away here or in gitter.

wanghaisheng commented 7 years ago

that`s nice @kba