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

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

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

Scilabヘルプ >> Localization > addlocalizationdomain

addlocalizationdomain

ローカライゼーション機構に新規ドメインを追加.

呼び出し手順

msg=addlocalizationdomain(domain, path)

引数

domain

文字列, メッセージドメインの名前

path

ドメインファイルのパス

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")

参照

  • gettext — indexes or/and translates some indexed english messages
  • tbx_generate_pofile — Extract localized strings from toolbox sources (toolbox compilation process)

履歴

VersionDescription
5.5.0 addlocalizationdomain 関数が追加されました.
Report an issue
<< Localization Localization dgettext >>

Copyright (c) 2022-2024 (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 25 08:53:30 CET 2020