On Thu, Sep 10, 2009 at 6:44 PM, Roan Kattouw <roan.kattouw(a)gmail.com> wrote:
Seems I'm not the only one who had a completely
wrong idea about how
variants work. We definitely need more documentation and fame for this
system, so its potential doesn't go to waste.
I theoretically knew that it was just a string-replace system, but it
didn't occur to me that it would be useful for more than
transliteration. It makes sense now that Tim pointed that out. How
would it handle word breaks, though? It would just ignore them, so
color -> colour also changes uncolored -> uncoloured? What about
things like HTML id's or even attribute/property names (<span
style="color:red">)? I'm sure I could dig through the code to find
the answers to these, but actually I'm not even sure offhand where the
code *is*.