Internationalisation of a toolbox

Collette Yann ycollette at free.fr
Sun Sep 7 15:55:55 CEST 2008


Hello,

I have a small toolbox and I would like to use internationalization 
support for it.
The directories are:
toolbox/macros
toolbox/locales/en_US

In macros, I've got a simple function:
function test_int(msg)
printf(gettex("Your message: %s\n"),msg);
endfunction

To extract the messages:
xgettext test_int.sci
then: mv messages.po ../locales/en_US

I translate these messages using poedit

But how do I teel scilab-5 to load my locales ?
Is it implicitly done ?

YC




More information about the dev mailing list