std-ver-language


Synopsis

(std-ver-language)

Description

Returns any of the following symbols (or better keywords) dependent on the language version of the current AutoCAD version.

Defined are so far:

:ENGLISH
:GERMAN
:FRENCH
:ITALIAN
:SPANISH
:CZECH
:JAPANESE
:RUSSIAN

Other languages will be supported in the future.

The symbols are keywords, they are self-evaluating, so you may omit the quote.

Cached version

This function is only called once, the result is stored in the global symbol *SYS-LANGUAGE*. All subsequent calls just return a result dependent on the value of this symbol.

Examples

(cond
  ((eq :GERMAN (std-ver-language))
   (princ "Hallo Welt!"))
  ((eq :ENGLISH (std-ver-language))
   (princ "Hello world!"))
)

Arguments

None

Return Value

Any of the above keywords or nil of not decidable.

Side Effects

Works with the global symbol *SYS-LANGUAGE*.

Module

Defined in STDINIT