summaryrefslogtreecommitdiff
path: root/modules/localization/help
diff options
context:
space:
mode:
Diffstat (limited to 'modules/localization/help')
-rwxr-xr-xmodules/localization/help/en_US/addchapter.sce11
-rwxr-xr-xmodules/localization/help/en_US/addlocalizationdomain.xml67
-rwxr-xr-xmodules/localization/help/en_US/dgettext.xml63
-rwxr-xr-xmodules/localization/help/en_US/getdefaultlanguage.xml47
-rwxr-xr-xmodules/localization/help/en_US/getlanguage.xml44
-rwxr-xr-xmodules/localization/help/en_US/gettext.xml91
-rwxr-xr-xmodules/localization/help/en_US/setdefaultlanguage.xml75
-rwxr-xr-xmodules/localization/help/en_US/setlanguage.xml66
-rwxr-xr-xmodules/localization/help/fr_FR/addchapter.sce11
-rwxr-xr-xmodules/localization/help/fr_FR/language.xml12
-rwxr-xr-xmodules/localization/help/fr_FR/setlanguage.xml41
-rwxr-xr-xmodules/localization/help/ja_JP/addchapter.sce11
-rwxr-xr-xmodules/localization/help/ja_JP/addlocalizationdomain.xml121
-rwxr-xr-xmodules/localization/help/ja_JP/dgettext.xml121
-rwxr-xr-xmodules/localization/help/ja_JP/getdefaultlanguage.xml83
-rwxr-xr-xmodules/localization/help/ja_JP/getlanguage.xml76
-rwxr-xr-xmodules/localization/help/ja_JP/gettext.xml172
-rwxr-xr-xmodules/localization/help/ja_JP/setdefaultlanguage.xml132
-rwxr-xr-xmodules/localization/help/ja_JP/setlanguage.xml114
-rwxr-xr-xmodules/localization/help/pt_BR/addchapter.sce11
-rwxr-xr-xmodules/localization/help/ru_RU/addchapter.sce11
-rwxr-xr-xmodules/localization/help/ru_RU/dgettext.xml64
-rwxr-xr-xmodules/localization/help/ru_RU/getdefaultlanguage.xml47
-rwxr-xr-xmodules/localization/help/ru_RU/getlanguage.xml44
-rwxr-xr-xmodules/localization/help/ru_RU/gettext.xml57
-rwxr-xr-xmodules/localization/help/ru_RU/language.xml37
-rwxr-xr-xmodules/localization/help/ru_RU/setdefaultlanguage.xml75
-rwxr-xr-xmodules/localization/help/ru_RU/setlanguage.xml66
-rwxr-xr-xmodules/localization/help/ru_RU/underscore.xml60
29 files changed, 1830 insertions, 0 deletions
diff --git a/modules/localization/help/en_US/addchapter.sce b/modules/localization/help/en_US/addchapter.sce
new file mode 100755
index 000000000..c3f0eed2c
--- /dev/null
+++ b/modules/localization/help/en_US/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Localization",SCI+"/modules/localization/help/en_US",%T);
+
diff --git a/modules/localization/help/en_US/addlocalizationdomain.xml b/modules/localization/help/en_US/addlocalizationdomain.xml
new file mode 100755
index 000000000..8ff026e4a
--- /dev/null
+++ b/modules/localization/help/en_US/addlocalizationdomain.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Antoine ELIAS
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="addlocalizationdomain">
+ <refnamediv>
+ <refname>addlocalizationdomain</refname>
+ <refpurpose>add a new domain in localization mechanism.</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>msg=addlocalizationdomain(domain, path)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>domain</term>
+ <listitem>
+ <para>a string, the name of the messages domain</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>path</term>
+ <listitem>
+ <para>path to the domain files</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+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")
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="gettext">gettext</link>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>History</title>
+ <revhistory>
+ <revision>
+ <revnumber>5.5.0</revnumber>
+ <revdescription>addlocalizationdomain function added.</revdescription>
+ </revision>
+ </revhistory>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/en_US/dgettext.xml b/modules/localization/help/en_US/dgettext.xml
new file mode 100755
index 000000000..388952beb
--- /dev/null
+++ b/modules/localization/help/en_US/dgettext.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="dgettext">
+ <refnamediv>
+ <refname>dgettext</refname>
+ <refpurpose>get text translated into the current locale and a specific domain</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>msg=dgettext(domain, myString)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>domain</term>
+ <listitem>
+ <para>a string, the name of the message domain</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>myString</term>
+ <listitem>
+ <para>a string, the message to be translated</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>dgettext</literal> gets the translation of a string <literal>myString</literal> to the current locale in a specified message domain <literal>domain</literal>.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+dgettext('scilab','Startup execution:')
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="gettext">gettext</link>
+ </member>
+ <member>
+ <link linkend="_">_</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/en_US/getdefaultlanguage.xml b/modules/localization/help/en_US/getdefaultlanguage.xml
new file mode 100755
index 000000000..e7650b58b
--- /dev/null
+++ b/modules/localization/help/en_US/getdefaultlanguage.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="getdefaultlanguage">
+ <refnamediv>
+ <refname>getdefaultlanguage</refname>
+ <refpurpose>returns the default language used by Scilab</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>getdefaultlanguage()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>getdefaultlanguage()</literal> returns the default language used by Scilab.
+ By default, this function should return <literal>en_US</literal>.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+getdefaultlanguage()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="setlanguage">setlanguage</link>
+ </member>
+ <member>
+ <link linkend="getlanguage">getlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/en_US/getlanguage.xml b/modules/localization/help/en_US/getlanguage.xml
new file mode 100755
index 000000000..4e67fb1be
--- /dev/null
+++ b/modules/localization/help/en_US/getlanguage.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="getlanguage">
+ <refnamediv>
+ <refname>getlanguage</refname>
+ <refpurpose>returns current language used by Scilab.</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>getlanguage()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>getlanguage()</literal> returns current language used by Scilab.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+setlanguage('en_US')
+getlanguage()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="setlanguage">setlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/en_US/gettext.xml b/modules/localization/help/en_US/gettext.xml
new file mode 100755
index 000000000..536946e23
--- /dev/null
+++ b/modules/localization/help/en_US/gettext.xml
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="gettext">
+ <refnamediv>
+ <refname>gettext</refname>
+ <refpurpose>get text translated into the current locale and domain.</refpurpose>
+ </refnamediv>
+ <refnamediv xml:id="_">
+ <refname>_</refname>
+ <refpurpose>
+ Similar to <link linkend="gettext">gettext</link>
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>msg=gettext([myDomain,] myString)
+ msg=_([myDomain,] myString)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>myDomain</term>
+ <listitem>
+ <para>a string, the name of the messages domain</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>myString</term>
+ <listitem>
+ <para>a string, the message to be translated</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>gettext(myString)</literal> gets the translation of a string <literal>myString</literal> to the current locale in the current domain.
+ </para>
+ <para>
+ <literal>gettext(myDomain, myString)</literal> gets the translation of a string <literal>myString</literal> to the <literal>myDomain</literal> domain.
+ </para>
+ <para>
+ <code>_(myString)</code> is an alias of <code>gettext(myString)</code>.
+ </para>
+ <para>
+ <code>_(myDomain, myString)</code> is an alias of <code>gettext(myDomain, myString)</code>.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+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")
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="addlocalizationdomain">addlocalizationdomain</link>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>History</title>
+ <revhistory>
+ <revision>
+ <revnumber>5.5.0</revnumber>
+ <revdescription>Domain management added.</revdescription>
+ </revision>
+ </revhistory>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/en_US/setdefaultlanguage.xml b/modules/localization/help/en_US/setdefaultlanguage.xml
new file mode 100755
index 000000000..858f11b82
--- /dev/null
+++ b/modules/localization/help/en_US/setdefaultlanguage.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="setdefaultlanguage" xml:lang="en">
+ <refnamediv>
+ <refname>setdefaultlanguage</refname>
+ <refpurpose>sets and saves the internal LANGUAGE value.</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>setdefaultlanguage(language)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>language</term>
+ <listitem>
+ <para>a string, can have following values: 'fr', 'en', 'ru_RU', 'zh_TW', ...</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>setdefaultlanguage(language)</literal> changes current
+ language and saves this value in Scilab.
+ </para>
+ <para>You have to restart Scilab, if you want to use menus.</para>
+ <para>
+ <literal>setdefaultlanguage('')</literal> resets language to the system value.
+ </para>
+ <para>
+ <literal>setdefaultlanguage</literal> is used only Windows. On others operating systems
+ it returns always <literal>%f</literal>.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+setdefaultlanguage('en_US')
+
+// restart Scilab
+getlanguage()
+setdefaultlanguage('fr_FR')
+
+// restart Scilab
+getlanguage()
+setdefaultlanguage('')
+
+// restart scilab
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getlanguage">getlanguage</link>
+ </member>
+ <member>
+ <link linkend="setlanguage">setlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/en_US/setlanguage.xml b/modules/localization/help/en_US/setlanguage.xml
new file mode 100755
index 000000000..2c40e2c19
--- /dev/null
+++ b/modules/localization/help/en_US/setlanguage.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="setlanguage">
+ <refnamediv>
+ <refname>setlanguage</refname>
+ <refpurpose>sets the internal LANGUAGE
+ value (for Windows only)
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>setlanguage(language)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>language</term>
+ <listitem>
+ <para>with language='fr' or 'en', ... </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>setlanguage(language)</literal> changes current language in scilab.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+setlanguage('en_US')
+getlanguage()
+setlanguage('en')
+getlanguage()
+setlanguage('fr')
+getlanguage()
+setlanguage('fr_FR')
+getlanguage()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getlanguage">getlanguage</link>
+ </member>
+ <member>
+ <link linkend="setdefaultlanguage">setdefaultlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/fr_FR/addchapter.sce b/modules/localization/help/fr_FR/addchapter.sce
new file mode 100755
index 000000000..7f4861663
--- /dev/null
+++ b/modules/localization/help/fr_FR/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Localisation",SCI+"/modules/localization/help/fr_FR",%T);
+
diff --git a/modules/localization/help/fr_FR/language.xml b/modules/localization/help/fr_FR/language.xml
new file mode 100755
index 000000000..1276a4c21
--- /dev/null
+++ b/modules/localization/help/fr_FR/language.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="LANGUAGE" xml:lang="fr">
+ <refnamediv>
+ <refname>LANGUAGE</refname>
+ <refpurpose>(obsolete)</refpurpose>
+ </refnamediv>
+ <refsection>
+ <title>Description</title>
+ <para>voir getlanguage()</para>
+ <para>LANGUAGE = getlanguage();</para>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/fr_FR/setlanguage.xml b/modules/localization/help/fr_FR/setlanguage.xml
new file mode 100755
index 000000000..d8de7af84
--- /dev/null
+++ b/modules/localization/help/fr_FR/setlanguage.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="setlanguage" xml:lang="fr">
+ <refnamediv>
+ <refname>setlanguage</refname>
+ <refpurpose>Modifie la langue courante.</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Séquence d'appel</title>
+ <synopsis>setlanguage(language)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Paramètres</title>
+ <variablelist>
+ <varlistentry>
+ <term>language</term>
+ <listitem>
+ <para>avec language='fr' or 'en'</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Description</title>
+ <para>
+ <literal>setlanguage(language)</literal> change la langue courante
+ dans scilab.
+ </para>
+ <para>et sauvegarde celle-ci.</para>
+ <para>un redemarrage de scilab est necessaire pour que les menus soient
+ localisés.
+ </para>
+ </refsection>
+ <refsection role="see also">
+ <title>Voir aussi</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getlanguage">getlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/ja_JP/addchapter.sce b/modules/localization/help/ja_JP/addchapter.sce
new file mode 100755
index 000000000..0e0916e0e
--- /dev/null
+++ b/modules/localization/help/ja_JP/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Localization",SCI+"/modules/localization/help/ja_JP",%T);
+
diff --git a/modules/localization/help/ja_JP/addlocalizationdomain.xml b/modules/localization/help/ja_JP/addlocalizationdomain.xml
new file mode 100755
index 000000000..4e0a5a7de
--- /dev/null
+++ b/modules/localization/help/ja_JP/addlocalizationdomain.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2013 - Scilab Enterprises - Antoine ELIAS
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="addlocalizationdomain">
+
+ <refnamediv>
+
+ <refname>addlocalizationdomain</refname>
+
+ <refpurpose>ローカライゼーション機構に新規ドメインを追加.</refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>msg=addlocalizationdomain(domain, path)</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>domain</term>
+
+ <listitem>
+
+ <para>文字列, メッセージドメインの名前</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ <varlistentry>
+
+ <term>path</term>
+
+ <listitem>
+
+ <para>ドメインファイルのパス</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+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")
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="gettext">gettext</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>履歴</title>
+
+ <revhistory>
+
+ <revision>
+
+ <revnumber>5.5.0</revnumber>
+
+ <revdescription>
+
+ addlocalizationdomain 関数が追加されました.
+
+ </revdescription>
+
+ </revision>
+
+ </revhistory>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/localization/help/ja_JP/dgettext.xml b/modules/localization/help/ja_JP/dgettext.xml
new file mode 100755
index 000000000..8946307bc
--- /dev/null
+++ b/modules/localization/help/ja_JP/dgettext.xml
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="dgettext">
+
+ <refnamediv>
+
+ <refname>dgettext</refname>
+
+ <refpurpose>
+
+ カレントのロケールおよび指定したドメインに翻訳されたテキストを取得
+
+ </refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>msg=dgettext(domain, myString)</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>domain</term>
+
+ <listitem>
+
+ <para>文字列, メッセージドメインの名前</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ <varlistentry>
+
+ <term>myString</term>
+
+ <listitem>
+
+ <para>文字列, 翻訳するメッセージ</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ <literal>dgettext</literal> は文字列 <literal>myString</literal>を
+
+ 指定したメッセージドメイン<literal>domain</literal>の
+
+ カレントのロケールへの翻訳したものを取得します.
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+dgettext('scilab','Startup execution:')
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="gettext">gettext</link>
+
+ </member>
+
+ <member>
+
+ <link linkend="_">_</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/localization/help/ja_JP/getdefaultlanguage.xml b/modules/localization/help/ja_JP/getdefaultlanguage.xml
new file mode 100755
index 000000000..670fbb008
--- /dev/null
+++ b/modules/localization/help/ja_JP/getdefaultlanguage.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="getdefaultlanguage">
+
+ <refnamediv>
+
+ <refname>getdefaultlanguage</refname>
+
+ <refpurpose>Scilabで使用されるデフォルト言語を返す</refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>getdefaultlanguage()</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ <literal>getdefaultlanguage()</literal> は,Scilabで使用される
+
+ デフォルトの言語を返します.
+
+ デフォルトで,この関数は<literal>en_US</literal>を返します.
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+getdefaultlanguage()
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="setlanguage">setlanguage</link>
+
+ </member>
+
+ <member>
+
+ <link linkend="getlanguage">getlanguage</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/localization/help/ja_JP/getlanguage.xml b/modules/localization/help/ja_JP/getlanguage.xml
new file mode 100755
index 000000000..9b0ced5bf
--- /dev/null
+++ b/modules/localization/help/ja_JP/getlanguage.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="getlanguage">
+
+ <refnamediv>
+
+ <refname>getlanguage</refname>
+
+ <refpurpose>Scilabで使用されるカレントの言語を返す.</refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>getlanguage()</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ <literal>getlanguage()</literal> は,Scilabで使用されるカレントの言語を
+
+ 返します.
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+setlanguage('en_US')
+getlanguage()
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="setlanguage">setlanguage</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/localization/help/ja_JP/gettext.xml b/modules/localization/help/ja_JP/gettext.xml
new file mode 100755
index 000000000..359f7e2f8
--- /dev/null
+++ b/modules/localization/help/ja_JP/gettext.xml
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="gettext">
+
+ <refnamediv>
+
+ <refname>gettext</refname>
+
+ <refpurpose>カレントのロケールおよびドメインに翻訳したテキストを取得.</refpurpose>
+
+ </refnamediv>
+
+ <refnamediv xml:id="_">
+
+ <refname>_</refname>
+
+ <refpurpose>
+
+ <link linkend="gettext">gettext</link>に類似
+
+ </refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>msg=gettext([myDomain,] myString)
+
+ msg=_([myDomain,] myString)
+
+ </synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>myDomain</term>
+
+ <listitem>
+
+ <para>文字列, メッセージドメインの名前</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ <varlistentry>
+
+ <term>myString</term>
+
+ <listitem>
+
+ <para>文字列, 翻訳する文字列</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ <literal>gettext(myString)</literal> は,文字列<literal>myString</literal>を
+
+ カレントのロケールのカレントのドメインに翻訳したものを取得します.
+
+ </para>
+
+ <para>
+
+ <literal>gettext(myDomain, myString)</literal> は,
+
+ 文字列<literal>myString</literal>を
+
+ <literal>myDomain</literal>ドメインに翻訳したものを取得します.
+
+ </para>
+
+ <para>
+
+ <code>_(myString)</code> は,<code>gettext(myString)</code>のエイリアスです.
+
+ </para>
+
+ <para>
+
+ <code>_(myDomain, myString)</code> は,<code>gettext(myDomain, myString)</code>
+
+ のエイリアスです.
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+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")
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="addlocalizationdomain">addlocalizationdomain</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>履歴</title>
+
+ <revhistory>
+
+ <revision>
+
+ <revnumber>5.5.0</revnumber>
+
+ <revdescription>ドメイン管理が追加されました.</revdescription>
+
+ </revision>
+
+ </revhistory>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/localization/help/ja_JP/setdefaultlanguage.xml b/modules/localization/help/ja_JP/setdefaultlanguage.xml
new file mode 100755
index 000000000..831b479ff
--- /dev/null
+++ b/modules/localization/help/ja_JP/setdefaultlanguage.xml
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="setdefaultlanguage" xml:lang="ja">
+
+ <refnamediv>
+
+ <refname>setdefaultlanguage</refname>
+
+ <refpurpose>内部変数 LANGUAGE の値を設定, 保存.</refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>setdefaultlanguage(language)</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>language</term>
+
+ <listitem>
+
+ <para>文字列, 以下の値のどれかとします: 'fr', 'en', 'ru_RU', 'zh_TW', ...</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ <literal>setdefaultlanguage(language)</literal> は,
+
+ カレントの言語を変更し, この値を Scilabに保存します.
+
+ </para>
+
+ <para>メニューを使用する場合, Scilabを再起動する必要があります.</para>
+
+ <para>
+
+ <literal>setdefaultlanguage('')</literal> は,
+
+ 言語をシステム値にリセットします.
+
+ </para>
+
+ <para>
+
+ <literal>setdefaultlanguage</literal> は Windowsのみで使用されます.
+
+ 他のオペレーティングシステムでは,常に
+
+ <literal>%f</literal>を返します.
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+setdefaultlanguage('en_US')
+
+// Scilabを再起動
+getlanguage()
+setdefaultlanguage('fr_FR')
+
+// Scilabを再起動
+getlanguage()
+setdefaultlanguage('')
+
+// scilabを再起動
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="getlanguage">getlanguage</link>
+
+ </member>
+
+ <member>
+
+ <link linkend="setlanguage">setlanguage</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/localization/help/ja_JP/setlanguage.xml b/modules/localization/help/ja_JP/setlanguage.xml
new file mode 100755
index 000000000..e166077c5
--- /dev/null
+++ b/modules/localization/help/ja_JP/setlanguage.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="setlanguage">
+
+ <refnamediv>
+
+ <refname>setlanguage</refname>
+
+ <refpurpose>
+
+ 内部変数 LANGUAGE の値を設定(Windows専用)
+
+ </refpurpose>
+
+ </refnamediv>
+
+ <refsynopsisdiv>
+
+ <title>呼び出し手順</title>
+
+ <synopsis>setlanguage(language)</synopsis>
+
+ </refsynopsisdiv>
+
+ <refsection>
+
+ <title>引数</title>
+
+ <variablelist>
+
+ <varlistentry>
+
+ <term>language</term>
+
+ <listitem>
+
+ <para>language='fr' または 'en', ... と指定</para>
+
+ </listitem>
+
+ </varlistentry>
+
+ </variablelist>
+
+ </refsection>
+
+ <refsection>
+
+ <title>説明</title>
+
+ <para>
+
+ <literal>setlanguage(language)</literal> は, Scilabの
+
+ カレントの言語を変更します.
+
+ </para>
+
+ </refsection>
+
+ <refsection>
+
+ <title>例</title>
+
+ <programlisting role="example"><![CDATA[
+setlanguage('en_US')
+getlanguage()
+setlanguage('en')
+getlanguage()
+setlanguage('fr')
+getlanguage()
+setlanguage('fr_FR')
+getlanguage()
+ ]]></programlisting>
+
+ </refsection>
+
+ <refsection role="see also">
+
+ <title>参照</title>
+
+ <simplelist type="inline">
+
+ <member>
+
+ <link linkend="getlanguage">getlanguage</link>
+
+ </member>
+
+ <member>
+
+ <link linkend="setdefaultlanguage">setdefaultlanguage</link>
+
+ </member>
+
+ </simplelist>
+
+ </refsection>
+
+</refentry>
+
diff --git a/modules/localization/help/pt_BR/addchapter.sce b/modules/localization/help/pt_BR/addchapter.sce
new file mode 100755
index 000000000..da42aa129
--- /dev/null
+++ b/modules/localization/help/pt_BR/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Localização",SCI+"/modules/localization/help/pt_BR",%T);
+
diff --git a/modules/localization/help/ru_RU/addchapter.sce b/modules/localization/help/ru_RU/addchapter.sce
new file mode 100755
index 000000000..10e961526
--- /dev/null
+++ b/modules/localization/help/ru_RU/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009 - DIGITEO
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Локализация",SCI+"/modules/localization/help/ru_RU",%T);
+
diff --git a/modules/localization/help/ru_RU/dgettext.xml b/modules/localization/help/ru_RU/dgettext.xml
new file mode 100755
index 000000000..3739bb50f
--- /dev/null
+++ b/modules/localization/help/ru_RU/dgettext.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="dgettext">
+ <refnamediv>
+ <refname>dgettext</refname>
+ <refpurpose>получение текста, переведённого на язык текущей локали и определённого региона использования</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Последовательность вызова</title>
+ <synopsis>msg=dgettext(domain, myString)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Аргументы</title>
+ <variablelist>
+ <varlistentry>
+ <term>domain</term>
+ <listitem>
+ <para>строка, имя области использования</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>myString</term>
+ <listitem>
+ <para>строка, сообщение, которое нужно перевести</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Описание</title>
+ <para>
+ <literal>dgettext(domain, myString)</literal> получает перевод строки
+ <literal>myString</literal> в определённой области использования <literal>domain</literal>.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Примеры</title>
+ <programlisting role="example"><![CDATA[
+dgettext('scilab','Startup execution:')
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Смотрите также</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="gettext">gettext</link>
+ </member>
+ <member>
+ <link linkend="_">_</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/ru_RU/getdefaultlanguage.xml b/modules/localization/help/ru_RU/getdefaultlanguage.xml
new file mode 100755
index 000000000..20e18a11f
--- /dev/null
+++ b/modules/localization/help/ru_RU/getdefaultlanguage.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="getdefaultlanguage">
+ <refnamediv>
+ <refname>getdefaultlanguage</refname>
+ <refpurpose>возвращает язык, используемый Scilab'ом по умолчанию</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Последовательность вызова</title>
+ <synopsis>getdefaultlanguage()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Описание</title>
+ <para>
+ <literal>getdefaultlanguage()</literal> возвращает язык, используемый Scilab'ом по умолчанию.
+ По умолчанию эта функция должна возвращать <literal>en_US</literal>.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Примеры</title>
+ <programlisting role="example"><![CDATA[
+getdefaultlanguage()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Смотрите также</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="setlanguage">setlanguage</link>
+ </member>
+ <member>
+ <link linkend="getlanguage">getlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/ru_RU/getlanguage.xml b/modules/localization/help/ru_RU/getlanguage.xml
new file mode 100755
index 000000000..e9ba05572
--- /dev/null
+++ b/modules/localization/help/ru_RU/getlanguage.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="getlanguage">
+ <refnamediv>
+ <refname>getlanguage</refname>
+ <refpurpose>возвращает текущий язык, используемый Scilab'ом</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Последовательность вызова</title>
+ <synopsis>getlanguage()</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Описание</title>
+ <para>
+ <literal>getlanguage()</literal> возвращает текущий язык, используемый Scilab'ом.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Примеры</title>
+ <programlisting role="example"><![CDATA[
+setlanguage('en_US')
+getlanguage()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Смотрите также</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="setlanguage">setlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/ru_RU/gettext.xml b/modules/localization/help/ru_RU/gettext.xml
new file mode 100755
index 000000000..2e23475a0
--- /dev/null
+++ b/modules/localization/help/ru_RU/gettext.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="gettext">
+ <refnamediv>
+ <refname>gettext</refname>
+ <refpurpose>получение текста, переведённого в текущей локали и регионе использования</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Последовательность вызова</title>
+ <synopsis>msg=gettext(myString)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Аргументы</title>
+ <variablelist>
+ <varlistentry>
+ <term>myString</term>
+ <listitem>
+ <para>строка, сообщение, которое нужно перевести</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Описание</title>
+ <para>
+ <literal>gettext(myString)</literal> получает перевод строки <literal>myString</literal> в текущей локали в текущем регионе использования.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Примеры</title>
+ <programlisting role="example"><![CDATA[
+gettext("Startup execution:")
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Смотрите также</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="dgettext">dgettext</link>
+ </member>
+ <member>
+ <link linkend="_">_</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/ru_RU/language.xml b/modules/localization/help/ru_RU/language.xml
new file mode 100755
index 000000000..c575722e1
--- /dev/null
+++ b/modules/localization/help/ru_RU/language.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="LANGUAGE">
+ <refnamediv>
+ <refname>LANGUAGE</refname>
+ <refpurpose>переменная, определяющая язык (УСТАРЕЛА)</refpurpose>
+ </refnamediv>
+ <refsection>
+ <title>Описание</title>
+ <para>
+ <literal>LANGUAGE</literal> устарела. Если вам нужна переменная <literal>LANGUAGE</literal>,
+ то используйте <literal>LANGUAGE=getlanguage()</literal>.
+ </para>
+ </refsection>
+ <refsection role="see also">
+ <title>Смотрите также</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getlanguage">getlanguage</link>
+ </member>
+ <member>
+ <link linkend="getdefaultlanguage">getdefaultlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/ru_RU/setdefaultlanguage.xml b/modules/localization/help/ru_RU/setdefaultlanguage.xml
new file mode 100755
index 000000000..4c6e87127
--- /dev/null
+++ b/modules/localization/help/ru_RU/setdefaultlanguage.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="setdefaultlanguage" xml:lang="ru">
+ <refnamediv>
+ <refname>setdefaultlanguage</refname>
+ <refpurpose>устанавливает и сохраняет значение внутреннего языка LANGUAGE</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Последовательность вызова</title>
+ <synopsis>setdefaultlanguage(language)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Аргументы</title>
+ <variablelist>
+ <varlistentry>
+ <term>language</term>
+ <listitem>
+ <para>строка, указывающая язык 'fr', 'en', 'ru_RU', 'zh_TW' и др.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Описание</title>
+ <para>
+ <literal>setdefaultlanguage(language)</literal> меняет текущий язык и сохраняет это значение в Scilab'е.
+ </para>
+ <para>
+ Если вы хотите использовать меню, то вам придётся перезапустить Scilab.
+ </para>
+ <para>
+ <literal>setdefaultlanguage('')</literal> сбрасывает язык к системному значению.
+ </para>
+ <para>
+ <literal>setdefaultlanguage</literal> используется только в Windows. В других операционных системах она всегда возвращает <literal>%f</literal>.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Примеры</title>
+ <programlisting role="example"><![CDATA[
+setdefaultlanguage('en_US')
+
+// restart scilab
+getlanguage()
+setdefaultlanguage('fr_FR')
+
+// restart scilab
+getlanguage()
+setdefaultlanguage('')
+
+// restart scilab
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Смотрите также</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getlanguage">getlanguage</link>
+ </member>
+ <member>
+ <link linkend="setlanguage">setlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/ru_RU/setlanguage.xml b/modules/localization/help/ru_RU/setlanguage.xml
new file mode 100755
index 000000000..db4c861e0
--- /dev/null
+++ b/modules/localization/help/ru_RU/setlanguage.xml
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="setlanguage">
+ <refnamediv>
+ <refname>setlanguage</refname>
+ <refpurpose>
+ установка значения внутреннего языка LANGUAGE
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Последовательность вызова</title>
+ <synopsis>setlanguage(language)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Аргументы</title>
+ <variablelist>
+ <varlistentry>
+ <term>language</term>
+ <listitem>
+ <para>строка, указывающая язык 'fr', 'en', 'ru_RU', 'zh_TW' и др. </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Описание</title>
+ <para>
+ <literal>setlanguage(language)</literal> меняет текущий язык в Scilab.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Примеры</title>
+ <programlisting role="example"><![CDATA[
+setlanguage('en_US')
+getlanguage()
+setlanguage('en')
+getlanguage()
+setlanguage('fr')
+getlanguage()
+setlanguage('fr_FR')
+getlanguage()
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Смотрите также</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="getlanguage">getlanguage</link>
+ </member>
+ <member>
+ <link linkend="setdefaultlanguage">setdefaultlanguage</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/localization/help/ru_RU/underscore.xml b/modules/localization/help/ru_RU/underscore.xml
new file mode 100755
index 000000000..a09fa5cff
--- /dev/null
+++ b/modules/localization/help/ru_RU/underscore.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - INRIA - Allan CORNET
+ * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ru" xml:id="_">
+ <refnamediv>
+ <refname>_</refname>
+ <refpurpose>
+ получает текст, переведённый на язык текущей локали и региона использования
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Последовательность вызова</title>
+ <synopsis>msg=_(myString)</synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Аргументы</title>
+ <variablelist>
+ <varlistentry>
+ <term>string</term>
+ <listitem>
+ <para>строка, которую нужно перевести</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Описание</title>
+ <para>
+ <literal>_</literal> получает текст, переведённый на язык текущей локали и региона
+ использования.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Примеры</title>
+ <programlisting role="example"><![CDATA[
+_('Startup execution:')
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>Смотрите также</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="gettext">gettext</link>
+ </member>
+ <member>
+ <link linkend="dgettext">dgettext</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>