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 Swedish braille code #42

Closed bertfrees closed 8 years ago

bertfrees commented 9 years ago

To do:

Depends on:

bertfrees commented 9 years ago

Higher level translator component: see https://github.com/snaekobbi/pipeline-mod-mtm/commit/e34a62d43c83924e79d8c3d9e4ee5619502adba6.

The Swedish Dotify translator is used for pre-translation.

Inline formatting is currently not supported, but it could be if I make use of the translate(String text, TextAttribute attributes) method of BrailleTranslator. (Pre-)hyphenation is currently not supported because of the way line breaking is done in Dotify.

Alternatively, if we don't want pre-translation we should be able to accomplish that with a custom CSSStyledDocumentTransform and some adjustments to dotify:format.

joeha480 commented 9 years ago

I prefer not using pre-translation if possible, because then I can add support for non-standard hyphenation and also line breaking aware translation

bertfrees commented 9 years ago

See https://github.com/snaekobbi/pipeline-mod-braille/issues/51

bertfrees commented 8 years ago

This can be closed.

The pre-translation path now supports hyphenation (https://github.com/daisy/pipeline-mod-braille/issues/44). It does still not support text-level formatting, but I guess that is OK for now. When we need it (e.g. for e-braille or for the edit format) we'll create a new issue.

The translation-while-formatting path is now also supported (https://github.com/snaekobbi/pipeline-mod-braille/issues/51).