Scilab 5.5.2
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
addlocalizationdomain
add a new domain in localization mechanism.
Calling Sequence
msg=addlocalizationdomain(domain, path)
Arguments
- domain
a string, the name of the messages domain
- path
path to the domain files
Examples
setlanguage("fr_FR"); gettext("Startup execution:") _("Startup execution:") addlocalizationdomain("tbx", "SCI/modules/localization/tests/unit_tests/locale") gettext("tbx", "%s: something not in Scilab.\n") _("tbx", "%s: something not in Scilab.\n")
See Also
- gettext — get text translated into the current locale and domain.
History
Versão | Descrição |
5.5.0 | addlocalizationdomain function added. |
Report an issue | ||
<< Localização | Localização | dgettext >> |