Re: mod_mbox and i18n

2005-07-09 Thread Garrett Rooney
Maxime Petazzoni wrote: Hi, Last week, we've been discussing what mod_mbox should output (XML+XSLT or XHTML?) and we seemed to settle our minds on a simple XHTML output for the interface, plus of course the XML backend for AJAX sub-requests. Still, someone on the #apache-modules IRC channel

Re: mod_mbox and i18n

2005-07-09 Thread Maxime Petazzoni
There's no reason the strings have to be hard coded into the C code. You can pull them out into some sort of language specific file, just like any other C program that worries about i18n. This would mean more file I/O every time mod_mbox runs, and maybe using an external library such as

Re: mod_mbox and i18n

2005-07-09 Thread Sander Striker
translations seems like a bad idea. * use variables for strings and a sub XSL defining this variables depending on the language. This is, at least in my mind, not going to be one bit faster than using (cached) gettext. FWIW, I'm not too worried about i18n and mod_mbox. It's only

Re: mod_mbox and i18n

2005-07-09 Thread Maxime Petazzoni
, and having to push xsl changes to n translations seems like a bad idea. Absolutely. I know this, but I needed to present all solutions that came to me. FWIW, I'm not too worried about i18n and mod_mbox. It's only the interface changing language anyway. Of course, but if we want it, it would