home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / mail / elm / 3800 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.8 KB  |  38 lines

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