home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / CBMDevKit3.dms / CBMDevKit3.adf / locale / locale.lha / helloworld / README < prev   
Encoding:
Text File  |  1993-11-04  |  871 b   |  15 lines

  1. HelloWorld is a simple program showing how to use CatComp to localize an
  2. application. There is a small program called helloworld.c which simply tries
  3. to print two strings to the display in a localized form. There is a catalog
  4. descriptor file called helloworld.cd which contains two strings. Finally,
  5. there is a French catalog translation file called helloworld.ct from which
  6. a French locale catalog for the application can be built.
  7.  
  8. To compile the example with SAS 6.0, place the CatComp program in a command
  9. path, CD to where helloworld.c is, and execute "helloworld.c".  This should
  10. compile the example AND create its French catalog.  If you run the executable,
  11. it should use its internal (English) strings unless you have Français
  12. selected as your language preference via the Locale Prefs program, in
  13. which case it should output the French strings from its catalog.
  14.  
  15.