Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> Multilinguisme > setdefaultlanguage

setdefaultlanguage

sets the language of the session at startup and for some fixed Scilab menus

Syntax

setdefaultlanguage(language)

Arguments

language

a string made of a two-letter, lower-case, ISO Language Code, optionally followed by an underscore and a two-letter, upper-case, ISO country code), such as: 'fr', 'en', 'en_US', 'ru_RU', 'zh_TW'...

Description

setdefaultlanguage(language) changes the language used by Scilab user interface, including help, error messages, and saves this changes as the default for subsequent runs of Scilab.

Menus will only be changed to the new language once Scilab is restarted.

setdefaultlanguage('') resets the language to the system value.

setdefaultlanguage only works on Windows. On others operating systems, it does nothing and always returns %f.

Examples

setdefaultlanguage('en_US')

// restart Scilab
getlanguage()
setdefaultlanguage('fr_FR')

// restart Scilab
getlanguage()
setdefaultlanguage('')

// restart scilab

See also

  • getlanguage — returns the current language used by Scilab.
  • setlanguage — choisit la langue utilisée pour les messages standard et les pages d'aide (session en cours)
Report an issue
<< gettext Multilinguisme setlanguage >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:33:09 CET 2022