home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OSL_INC.PAK / LOCALE.RH < prev    next >
Text File  |  1995-08-29  |  3KB  |  54 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectSupport
  3. // (C) Copyright 1994 by Borland International, All Rights Reserved
  4. //
  5. // TLocaleString - localization resource file definitions - for RC file ONLY
  6. //----------------------------------------------------------------------------
  7. #if !defined(RC_INVOKED)
  8. # error This file is for use in MSW resources only
  9. #endif
  10.  
  11. #define XLAT 201 {     // custom resource type for OLE 2.01 localization
  12. #define XEND "\0"}     // force null terminator on resource strings
  13.  
  14. #define RCLANG(main, sub) ((main<<8) + sub + 1)   // Intel byte ordering
  15.  
  16. #define NEUTRAL             // a no-op for backward compatibility
  17. #define ENGLISH             RCLANG(0x09, 0)    // 0x0009
  18. #define ENGLISH_US          RCLANG(0x09, 1)    // 0x0409
  19. #define ENGLISH_UK          RCLANG(0x09, 2)    // 0x0809
  20. #define ENGLISH_AUSTRALIA   RCLANG(0x09, 3)    // 0x0C09
  21. #define ENGLISH_CANADA      RCLANG(0x09, 4)    // 0x1009
  22. #define FRENCH              RCLANG(0x0C, 0)    // 0x000C
  23. #define FRENCH_FRANCE       RCLANG(0x0C, 1)    // 0x040C
  24. #define FRENCH_BELGIUM      RCLANG(0x0C, 2)    // 0x080C
  25. #define FRENCH_CANADA       RCLANG(0x0C, 3)    // 0x0C0C
  26. #define FRENCH_SWISS        RCLANG(0x0C, 4)    // 0x100C
  27. #define GERMAN              RCLANG(0x07, 0)    // 0x0007
  28. #define GERMAN_GERMANY      RCLANG(0x07, 1)    // 0x0407
  29. #define GERMAN_SWISS        RCLANG(0x07, 2)    // 0x0807
  30. #define GERMAN_AUSTRIA      RCLANG(0x07, 3)    // 0x0C07
  31. #define DUTCH               RCLANG(0x13, 0)    // 0x0013
  32. #define DUTCH_DENMARK       RCLANG(0x13, 1)    // 0x0413
  33. #define DUTCH_BELGIUM       RCLANG(0x13, 2)    // 0x0813
  34. #define ITALIAN             RCLANG(0x10, 0)    // 0x0010
  35. #define ITALIAN_ITALY       RCLANG(0x10, 1)    // 0x0410
  36. #define ITALIAN_SWISS       RCLANG(0x10, 2)    // 0x0810
  37. #define PORTUGUESE          RCLANG(0x16, 0)    // 0x0016
  38. #define PORTUGUESE_BRAZIL   RCLANG(0x16, 1)    // 0x0416
  39. #define PORTUGUESE_PORTUGAL RCLANG(0x16, 2)    // 0x0816
  40. #define SPANISH             RCLANG(0x0a, 0)    // 0x000A
  41. #define SPANISH_SPAIN       RCLANG(0x0a, 1)    // 0x040A
  42. #define SPANISH_MEXICO      RCLANG(0x0a, 2)    // 0x080A
  43. #define SPANISH_MODERN      RCLANG(0x0a, 3)    // 0x0C0A
  44. #define DANISH              RCLANG(0x06, 0)    // 0x0006
  45. #define FINNISH             RCLANG(0x0b, 0)    // 0x000B
  46. #define NORWEGIAN           RCLANG(0x14, 0)    // 0x0014
  47. #define SWEDISH             RCLANG(0x1d, 0)    // 0x001D
  48. #define HUNGARIAN           RCLANG(0x0e, 0)    // 0x000E
  49. #define CZECH               RCLANG(0x05, 0)    // 0x0005
  50. #define SLOVAK              RCLANG(0x1b, 0)    // 0x001B
  51. #define POLISH              RCLANG(0x15, 0)    // 0x0015
  52.  
  53. // more languages may be added using defines in OLENLS.H
  54.