Re: XForms: Multiple Languages

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 13 Nov 97 12:41:54 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I have a couple of questions about international applications.

There is no internationalization support in XForms other than what
might be inherent in Xlib itself (in other words, precious little).

About the only thing I can suggest is to create a per-language
resource file and use the resource handling facilities in XForms to
load up the proper object labels, etc. The setting of the labels
could be done at initialization. Unfortunately, there's not way to
automagically do this since the support for resources in both XForms
and Xlib is pretty primitive. There's nothing in the way of
converters built in to either XForms or Xlib, though it would probably
be fairly straightforward to write some basic type of converter
routines which would handle this.

Refer to the "Resources for Forms Library" appendix in the XForms
manual for details.

Although I can see the utility of such extensions to XForms, I'm
always wary of creeping featurism which leads to library and
application bloat.

spl

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/