Hi,
> I have been trying to use "beginlanguage" and "endlanguage" to design a sysquake application in different languages.
> I have the following doubt :
> How do I detect the current language in the function space ?
It isn't possible (now). Everything that depends on the language
should be separated at the declaration level. For a subplots command
at init time, you should put different init handler declarations
between beginlanguage and endlanguage. Sysquake will call all init
handlers relevant to the current language and language-neutral, so
typically you can have language-specific init handlers which call
subplots, and language-independent init handlers outside any
beginlanguage/endlanguage.
> Detecting the language is also important for text included in the figures and dialog boxes.
Currently, the only way to do it is to call different functions or
with different arguments.
> How can I use special caracters (ñ,ó,ç´,ì ....) in figure names ?
It should work... Please make sure that Sysquake recognizes correctly
the character set used to encode .sq and .lml files, by adding the
following line at the top of the file:
// charset=charsetname
where "charsetname" is iso-latin-1 for western European languages
encoded as 8-bit characters on Windows and Linux, on Mac OS, and utf-8
for Unicode UTF-8 encoding everywhere. The latter is recommended; most
modern text editors should support it. Please see section "Character
Set" of Sysquake's documentation for more details.
Hope this helps,
Yves