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 Norwegian braille code #41

Open bertfrees opened 9 years ago

bertfrees commented 9 years ago

To do:

Depends on:

bertfrees commented 9 years ago

We need a translator component that uses the Norwegian liblouis table and that handles text-level semantics the way it is currently implemented in https://github.com/snaekobbi/functional-testing/blob/2ed459ab17986646228defc43474cbd7f3e766e7/src/test/38/translate-no.xsl (for HTML input). We could build a generic component for this but I expect that at some point more specific processing will be required, and then it'll be convenient if every agency already has its own component.

bertfrees commented 9 years ago

See https://github.com/snaekobbi/pipeline-mod-nlb/commit/cb2ce6230719e8725c15fbd23b59231dfb793228

bertfrees commented 9 years ago

@usama49 When you have managed to build pipeline-mod-nlb, maybe you could have a look at the custom translator (block-translate.xsl) and accompanying test (test_translator.xprocspec), and see if it behaves the way you want, possibly by adding more tests.

Another thing to start with could be an NLB-specific CSS file (or files). A good starting point I think would be the style sheets that are used in examples in requirements v1.0 provided by NLB (see for example http://dev.pef-format.org/dp2/v1.0/test/hyphenation/test-no.xprocspec.xhtml#41.1)