Hello! When I decided to write the following, I hesitated for a moment: it is a forum topic, it is also an issue, and it could be a project.
The question I have relates to web typography. I have looked at the Smartypants module, which does some useful things. But what it does is directed mainly at content in English. So what about other languages? How could one internationalize Smartypants?
I am actually about to do harm to Smartypants and try to add some features that reflect the needs and requirements of Czech typography. It might work for me, but I am sure other languages have also typographic rules.
What do I mean by typographic rules? In Czech, for instance, a line should not end with single-letter conjunctions or prepositions.
So a line ending in " k"
is considered ugly. Other rules such as this one apply and are generally observed.
While Smartypants does something similar, it would be a rather cumbersome solution to put all sorts of options and rules in it for all sorts of languages. One would really need a way of making Smartypants recognize what is the language of the content (or parts thereof! - and this is a significant point: a node could have text in one, but also two or more languages, so something like a tag to mark the language of text would be great).
That's where I think the whole solution would need collaboration from the i18n module. So that Drupal multi-lingual webs could display the content in the right language and in the right (correct) way.