Hello all.

Please excuse me if I go off-topic, but I need some help, and I was told
you all might be who can help me.

I am the maintainer of VTWM, and a few weeks ago, I implemented I18N/L10N
support, by integrating Tomohiro Kubota's work on TWM. It does seem to
work here, but I am too Anglo-centric to know how to compose non-English
VTWM resources, or set up X to support and use non-English fonts (if I
even have to?).

I have corresponded with Tomohiro, who tried to get it to work, and he
couldn't. So I'm turning to you. Here is the last reply I sent him - he
might not have even received it yet, I hope he doesn't think me rude:

---8<---

On Oct 03, at 07:27 AM, Tomohiro KUBOTA wrote:
> 
> I tried the beta version.  It worked well in LANG=C locale but it
> didn't start in LANG=fr_FR or LANG=ja_JP.eucJP locales.

It doesn't really do anything with LANG=C:

    loc = setlocale(LC_ALL, "");
    if (!loc || !strcmp(loc, "C") || !strcmp(loc, "POSIX") ||
                !XSupportsLocale())
        use_fontset = False;
    else
        use_fontset = True;
                                
    if (PrintErrorMessages)
        fprintf(stderr, "%s: I18N supported, L10N %sabled\n",
                ProgramName, (use_fontset) ? "en" : "dis");

If you invoke VTWM with the "-v" switch, it will report whether I18N/L10N
is supported and enabled on /dev/stderr.

I am able to get VTWM running with L10N enabled in an X sub-session by
doing this:

    $ Xnest -ac :1 &
    $ LANG=es_ES.ISO8859-15 MM_CHARSET=ISO-8859-15 vtwm -v -d :1 &

But as all my resources are English, I just get English VTWM features in
a different font. Same goes with a few other LANG and MM_CHARSET values,
although the fonts differ among them (the above is for Spanish).

I suspect it does work - here, anyway - because even though I get English
features, the fonts do change from those specified in my resource files,
and I don't get any "Unable to open fontsets ..." errors. But as I say, I
am too Anglo-centric to know how to compose non-English VTWM resources, or
set up X to support and use non-English fonts (if I even have to?).

> My environment is Debian Sid (unstable version). 

Mine is FreeBSD 4.5-REL-p24.14 running Xfree86 4.2.0.

> After unfreezing the tarball, I just typed "xmkmf" and "make".

That should do it. Support for XPM images, regular expressions, I18N/L10N,
and m4 are enabled by default.

--->8---

If any of you would like to try this beta of VTWM, you can get it at:

    ftp://ftp.visi.com/users/hawkeyd/private/vtwm-5.4.7-20030923.tar.gz

The directory is not readable; you'll have to fetch the tarball by name.

My main interest at this point is whether or not the I18N/L10N stuff
really works. What you did to set up the test (i.e., get your English X
server to support whatever languages, etc.), and resulting screenshots
would be most welcome.

All I ask is that you do not distribute this VTWM in any manner. It is
stable, but still subject to change, and I don't want to chase reports
of or about an unreleased and unsupported version.

Oh! I am not subscribed to this list, please see that I'm CC:'d directly
if you reply to the list.

Thank you,
Dave

-- 
  ______________________                         ______________________
  \__________________   \    D. J. HAWKEY JR.   /   __________________/
     \________________/\     [EMAIL PROTECTED]    /\________________/
                      http://www.visi.com/~hawkeyd/

_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to