1 ##rem $Id: ARexx.sd 253 2014-02-18 11:15:58Z damato $
4 /****************************************************************
5 Locale support in ARexx
7 This file was created automatically by `%fv'
12 ARexx.sd by Kai Norhausen <kn@tribal.line.org>
13 ****************************************************************/
17 locale = TRUE ; DEF_LOC = FALSE
19 IF ~Show('L',"locale.library") THEN
20 IF ~AddLib("locale.library",0,-30) THEN DO
21 SAY "Locale support not available"
25 CALL DefineLocaleStrings /* Set defaults */
27 cat = OpenCatalog("%b.catalog","%l",%v)
30 SAY "Error: Could not use localized strings. Using defaults instead."
32 /* INSERT AREXX PROGRAM HERE
33 Example: Write all strings to stdout */
41 CALL CloseCatalog(cat)
45 /* ##### Subroutines ###### */
49 locstr = GetCatalogStr(cat,id,defstr.id)
53 IF DEF_LOC = TRUE THEN RETURN
55 /* Define ID numbers */
58 /* Define default strings */