Good location for *.msg files for swat i18n?

Yasuma Takeda yasuma at miraclelinux.com
Mon Sep 22 11:01:51 GMT 2003


Hi,

> On Mon, Sep 22, 2003 at 04:12:22PM +0900, TAKAHASHI Motonobu wrote:
> 
> > Tim Potter wrote:
> >  1) and 2) will be fixed for the patch attached at BUG#412
> 
> I've checked this fix in to CVS.

Thanks apply. 
But I found a problem in lang_tdb.c(CVS SAMBA_3_0).
SWAT doesn't translate any messages in a certain environment.

The web_set_lang() uses a return value of lang_tdb_init().
And it needs a following patch.
I set languages of my mozilla preferences to "ja en", and checked it.

Thanks,
Yasuma

--- lang_tdb.c.org      2003-09-22 19:08:34.000000000 +0900
+++ lang_tdb.c  2003-09-22 19:15:24.000000000 +0900
@@ -161,6 +161,7 @@
        }
 
        current_lang = strdup(lang);
+       result = True;
 
  done:
        SAFE_FREE(msg_path);










More information about the samba-technical mailing list