snaekobbi / pipeline-mod-braille

ARCHIVED. Please don't make any new issues or pull requests in this repo.
0 stars 0 forks source link

Support translation while formatting in dotify:format #51

Closed bertfrees closed 8 years ago

bertfrees commented 9 years ago

We could either have obfl:style elements with name text-transform:none for all text that is pre-translated, or we could just translate all text that is not Unicode braille yet.

joeha480 commented 9 years ago

Is there a downside to just translate?

bertfrees commented 9 years ago

Don't know. Possibly you get unexpected results, i.e. if Unicode braille is not translated to Unicode braille or if something happens with white space or hypenation marks. I just want to make sure "pre-translated" is indeed "pre-translated" and not "translated twice".

bertfrees commented 8 years ago

See https://github.com/daisy/pipeline-mod-braille/commit/a37d7daf247975776b3b969b1f1c5ed76a61309a. Of most interest to you @joeha480 is probably the file BrailleTranslatorFactoryServiceImpl.java.