Roland Mainz writes: > ksh93 (and bash) provide another way via $"mymessage", e.g. all string > literals which are in double quotes with a '$' in front of the quotes > are localiseable strings. If a matching catalog file exists and the > locale is not "C" (or a l10n locale alias for "C" like "POSIX") then > ksh93 tries to lookup these strings in the l10n catalog (catalogs can be > generated via "shcomp -D scriptname" or "ksh93 -D scriptname").
OK. > BTW: Another "nice" feature is that you can put the extended "getopts" > strings into $"..." and therefore get localised manual pages for > "myscript --man" for free (assuming a matching l10n catalog exists for > "myscript" for the locale specified by ${LC_MESSAGES} and the script > uses the "getopts" builtin provided by ksh93). Someone will need to figure out how to convert the .sh.po rule in $SRC/Makefile.master to something that can deal with these before they can be used in ON. It doesn't look to me like it could. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ tools-discuss mailing list tools-discuss@opensolaris.org