Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function
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'...
%Tif the setting has been actually performed,
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
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
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; linspace("") setlanguage ru; linspace("") help linspace // the page should appear in Russian (if the help browser was closed) // Restoring the initial language setlanguage(L)
|Report an issue|
|<< setdefaultlanguage||Localization||API Scilab >>|