home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!irfu.se!bt
- From: bt@irfu.se (Bo Thide')
- Subject: Re: How and where should I install NLS message catalogs?
- Message-ID: <1992Dec19.214544.6299@irfu.se>
- Date: Sat, 19 Dec 1992 21:45:44 GMT
- References: <1992Dec19.203742.5019@irfu.se>
- Organization: Swedish Institute of Space Physics, Uppsala, Sweden
- Lines: 27
-
- In article <1992Dec19.203742.5019@irfu.se> bt@irfu.se (Bo Thide') writes:
- >I want to install NLS message catalogs for elm2.4 on my HP9000/720,
- >using the HP-UX NLS routines. Earlier, some of the message files
- >supplied with elm2.4 did not work together with the HP-UX 'gencat'. In
- >elm2.4 PL17 this has been fixed. Now, the problem is how I can tell
- >elm2.4 PL17 that I keep my ISO-8859.1 Swedish .cat files in the HP-UX
- >standard NLS directory /usr/lib/nls/swedish/iso88591. Another problem
- >is what I should call them. For instance, 'error.cat' doesn't seem like
- >a good name for the elm error message catalog.
- >
-
- Well, after some detective work I found the catopen() call, buried in
- src/elm.c and found that the catalog basename was *hardcoded* to
- "elm2.4". I also found that all message catalogs should be 'gencat'-ed
- to one big file (elm2.4.cat). Now elm2.4 finds his file but (at least
- sometimes) displays both the wanted message *plus* the default message
- string... The work continues.
-
- I think the name of the .cat file should be configurable instead of hardcoded.
-
- Bo
- --
- ^ Bo Thide'----------------------------------------------Science Director
- |I| Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden
- |R| Phone: (+46) 18-303671. Fax: (+46) 18-403100. IP: 130.238.30.23
- /|F|\ INTERNET: bt@irfu.se UUCP: ...!mcvax!sunic!irfu!bt
- ~~U~~ ----------------------------------------------------------------sm5dfw-
-