Operating System - HP-UX
1834288 Members
1872 Online
110066 Solutions
New Discussion

Re: using message catalogs in shell scripts

 
Jdamian
Respected Contributor

using message catalogs in shell scripts

Hi

I created several scripts and I want them to print messages in diferent languages according to value of LANG environment variable.

In C programming languague is easy: catopen(3C), catclose(3C) and catgets(3C) functions are available.
But they cannot be used in shell script.

Any ideas ?
1 REPLY 1
harry d brown jr
Honored Contributor

Re: using message catalogs in shell scripts

Sure they can, write a "C" wrapper!

live free or die
harry
Live Free or Die