Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.0 - 日本語

Change language to:
English - Français - Português - Русский

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

Scilabヘルプ >> Localization > setlanguage


chooses the language used for standard messages and help pages for the current session


TF = setlanguage(language)



single string among 'en', 'fr', 'ja', 'pt', 'ru', 'de', en_US', 'fr_FR', 'ja_JP', 'pt_BR', 'ru_RU', 'de_DE', 'zh_TW'...


single boolean: %T if the setting has been actually performed, %F otherwise.


setlanguage(language) changes the language used for error or warning messages or other standard words and texts such as the name of days and months, etc. If their translation is available, help pages are also displayed in the chosen language, after restarting the help browser.

The chosen language applies only to the current Scilab session.

setlanguage('') resets the language to the system value "en_US" and returns %F.

setlanguage works on all supported operating systems.

The new language is not taken into account in the menus of interfaces (help browser, variables browser, code editor, etc). No menus translation is done neither "on-the-flight" nor after reopening the interfaces. To set the language used in the menus, please use setdefaultlanguage(..) instead.


L = getlanguage();

// Translated strings
setlanguage ja;
_ Monday
setlanguage pt_BR;
_ Monday
setlanguage ru;
_ July

// Error messages:
setlanguage en;
linspace("") // to yield and display an error message
setlanguage ja;
setlanguage ru;

help linspace // the page should appear in Russian (if the help browser was closed)

// Restoring the initial language

See also

  • setdefaultlanguage — 内部変数 LANGUAGE の値を設定, 保存.
  • getlanguage — Scilabで使用されるカレントの言語を返す.
  • gettext — カレントのロケールおよびドメインに翻訳したテキストを取得.
Report an issue
<< setdefaultlanguage Localization API Scilab >>

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:
Tue Feb 14 15:10:43 CET 2017