Currently we have all text strings wrapped in _() as needed, we just need a system to actually translate these stings.
It appears that php's gettext should be able to do this (hence _()), we just need a way to ensure language settings don't "leak" into other areas/MUCs/whatever. The best method I have so far is setting the language in the class constructor or some such.
I did a push or two earlier which add primitive language support. Right now all we are doing is translating strings, before this can be closed we'll need to be able to handle different number and date formats as well.
(Blocks #4)
Currently we have all text strings wrapped in
_()
as needed, we just need a system to actually translate these stings.It appears that php's gettext should be able to do this (hence
_()
), we just need a way to ensure language settings don't "leak" into other areas/MUCs/whatever. The best method I have so far is setting the language in the class constructor or some such.