Scilab-Branch-6.1-GIT
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 — ローカライゼーション機構に新規ドメインを追加.
- 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
バージョン | 記述 |
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 >> |