Sphinx (the documentation system) has a very competent internationalization sche...
✧✦Catherine✦✧ @whitequark@treehouse.systems
Sphinx (the documentation system) has a very competent internationalization scheme
here's how it works. the input documents are processed (macros expanded, etc) then each page becomes a gettext catalog, and each AST node becomes its own gettext message
"that sounds ludicrous," you might say (I did a double-take when I learned this)
it's actually really clever! it lets translators not try to do silly things like "match table layouts exactly across document updates" and avoids a situation where a document becomes wholly outdated on an update (you just end up with a few English bits in a non-English text, in my case)