Subversion Repositories SvarDOS

Rev

Rev 1248 | Rev 1290 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1248 Rev 1277
Line 35... Line 35...
35
 * DEFLANG.C - the default translations that will be embedded into the program
35
 * DEFLANG.C - the default translations that will be embedded into the program
36
 
36
 
37
Then, DEFLANG.C must be compiled and linked to your program along with
37
Then, DEFLANG.C must be compiled and linked to your program along with
38
SVARLNGx.LIB. From there you will be able to use SvarLANG calls, typically:
38
SVARLNGx.LIB. From there you will be able to use SvarLANG calls, typically:
39
 
39
 
40
  svarlang_load("myprogram", "pl", "."); /* load .\myprogram.lng */
40
  svarlang_load("myprogram.lng", "pl");  /* load PL lang from myprogram.lng */
41
  puts(svarlang_str(2, 0));              /* display the string with id 2.0 */
41
  puts(svarlang_str(2, 0));              /* display the string with id 2.0 */
42
 
42
 
43
Read svarlang.h for more information about available functions.
43
Read svarlang.h for more information about available functions.
44
 
44
 
45
 
45