daisy / pipeline-mod-braille

!! NOTE: This project is now part of the pipeline-modules project !! | Braille Production Modules for the DAISY Pipeline 2
1 stars 4 forks source link

Braille translator should handle multi-language documents #196

Closed bertfrees closed 4 years ago

bertfrees commented 4 years ago

I'm not sure yet whether this is best implemented via the planned extended @text-transform CSS feature (https://github.com/daisy/pipeline-mod-braille/issues/191) (through the default CSS) or whether the braille translator should always handle xml:lang attributes (also without CSS). It's nice to give ultimate control to the user, but creating a default setting that handles any possible language is not possible with CSS. (But it is if the CSS is generated with XSLT.) Maybe what we need is a setting that can be passed via the braille translator query (something like (handle-lang)).

bertfrees commented 4 years ago

I'm going to consider this fixed by https://github.com/daisy/pipeline-mod-braille/issues/191. Creating the correct CSS to handle all lang attributes is the responsibility of the user.