Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!lll-winken!sun-barr!ccut!kogwy!wnoc-tyo-news!sragwa!sran124!srava!erik From: erik@srava.sra.co.jp (Erik M. van der Poel) Newsgroups: comp.windows.x Subject: Re: Language dependent application defaults Keywords: Localization, Application Defaults Message-ID: <3890@srava.sra.co.jp> Date: 16 Feb 90 08:48:23 GMT References: <898@ztivax.UUCP> Reply-To: erik@sra.co.jp (Erik M. van der Poel) Organization: Software Research Associates, Inc., Japan Lines: 25 In article <898@ztivax.UUCP> kap121@ztivax.UUCP (Thomas Oeser) writes: > NOTE - In the case of catgets() it is already possible to run > without any additional files, when the fallback strings in catgets() > are properly set. NOTE - In the case of XtAppInitialize() it is already possible to run without any additional files, when the fallback strings in same are properly set. :-) In fact, this is what Chris uses in xman to be able to tell the user that no app-defaults file was found. But let's get down to the point here. The X/Open catgets catalogues are only for multilingual text, while app-defaults files are for all sorts of resources including e.g. border width. So I suppose what you are trying to say is that we should keep language-dependent files in one place, specified by the environment variable NLSPATH. We could achieve this by keeping only language-independent files under /usr/lib/X11/app-defaults. But I imagine that the Xt people decided to put language-dependent files under the app-defaults directory too because X/Open is not the only standard out there. In AT&T's MNLS, for example, the internationalized files are under /lib/locale. Somebody correct me if I'm wrong. What about POSIX? And others? Basically, what I'm trying to say is that not everyone has catgets().