Scilab 6.1.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
tbx_generate_pofile
Extract localized strings from toolbox sources (toolbox compilation process)
Syntax
pofile = tbx_generate_pofile() pofile = tbx_generate_pofile(tbx_path) pofile = tbx_generate_pofile(tbx_name) // obsolete pofile = tbx_generate_pofile(tbx_name, tbx_path) // obsolete
Arguments
- tbx_path
path of the toolbox, use to locate files to compile.
- tbx_name (obsolete)
name of the toolbox, use to name localization files and domain.
tbx_name
is now retrieved as the basename of the filetbx_path/etc/*.start
. This file must exist, even if it is empty.- pofile
return the generated po file path.
Examples
See also
- gettext — indexes or/and translates some indexed english messages
- addlocalizationdomain — add a new domain in localization mechanism.
- tbx_make . localization — Builds a toolbox having a standard structure (EXPERIMENTAL)
- tbx_build_localization — Build localization "mo" file from "po" files (toolbox compilation process)
History
Version | Description |
5.5.0 | Function tbx_generate_pofile added. |
6.0.0 | tbx_name declared obsolete. It is no longer required. |
6.0.1 | _() and gettext() references are now detected. Literal double '' are now simplified in the msgid. Files paths in comments are no longer absolute and refer to the toolbox root. |
Report an issue | ||
<< tbx_builder_src_lang | Helper functions | tbx_make >> |