3
Yes, I'm following the dev forums on sourceforge. I believe that they are considering using gettext.
It seems to me that is should be possible to add a field to the users table for language preference, and intercept calls to get() to query the users table for that field. I do have one concern, however, about the $xoopsConfig array. Is it cached somehow, or does it get loaded afresh for each user? Or can an individual element be updated and the whole thing refreshed? I mean when a user selects from the language menu on the home page. Handling the language at that level would be the easiest, rather than going through every function that sets the language and making modifications in where it gets the setting from!
I am thinking of cloning a new table for each language, with a prefix to match the language directories. That way you can just add the prefix variable to the query to get the material for that language, or from a default if the material does not exist or is empty in case of system messages.
I am putting together a community site that I hope will be quite busy, with forums, dating, a recipe exchange, photo gallery, job listings, all kinds of dynamic stuff, so the existing hack really won't work too well for me. I fiddled around with PHPNuke for a while, but I really just don't like it nearly as well as Xoops.