[Scilab-users] Behavior of gettext

Federico Miyara fmiyara at fceia.unr.edu.ar
Mon Mar 4 05:58:23 CET 2019


Dear all,

I'm trying to understand the way the localizing function gettext works. 
For instance,

setlanguage('es')     // Set Spanish as session language
gettext("%s: Wrong number of input arguments.\n")

produces the expected result:

%s: Número incorrecto de argumentos de entrada.\n

But

gettext("Wrong number of input arguments.")

returns the original English version

Wrong number of input arguments.

Are the elements %s and \n part of the indexed string?

How can I get a list of indexed strings?

Regards,

Federico Miyara



---
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus




More information about the users mailing list