added japanese translation of localization module.
[scilab.git] / scilab / modules / localization / help / ja_JP / setdefaultlanguage.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) 2007 - INRIA - Allan CORNET
6  * 
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at    
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <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">
16     
17     <refnamediv>
18         
19         <refname>setdefaultlanguage</refname>
20         
21         <refpurpose>内部変数 LANGUAGE の値を設定, 保存.</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>setdefaultlanguage(language)</synopsis>
30         
31     </refsynopsisdiv>
32     
33     <refsection>
34         
35         <title>引数</title>
36         
37         <variablelist>
38             
39             <varlistentry>
40                 
41                 <term>language</term>
42                 
43                 <listitem>
44                     
45                     <para>文字列, 以下の値のどれかとします: 'fr', 'en', 'ru_RU', 'zh_TW', ...</para>
46                     
47                 </listitem>
48                 
49             </varlistentry>
50             
51         </variablelist>
52         
53     </refsection>
54     
55     <refsection>
56         
57         <title>説明</title>
58         
59         <para>
60             
61             <literal>setdefaultlanguage(language)</literal> は,
62             
63             カレントの言語を変更し, この値を Scilabに保存します.
64             
65         </para>
66         
67         <para>メニューを使用する場合, Scilabを再起動する必要があります.</para>
68         
69         <para>
70             
71             <literal>setdefaultlanguage('')</literal> は,
72             
73             言語をシステム値にリセットします.
74             
75         </para>
76         
77         <para>
78             
79             <literal>setdefaultlanguage</literal> は Windowsのみで使用されます.
80             
81             他のオペレーティングシステムでは,常に
82             
83             <literal>%f</literal>を返します. 
84             
85         </para>
86         
87     </refsection>
88     
89     <refsection>
90         
91         <title>例</title>
92         
93         <programlisting role="example"><![CDATA[ 
94 setdefaultlanguage('en_US')
95
96 // Scilabを再起動
97 getlanguage()
98 setdefaultlanguage('fr_FR')
99
100 // Scilabを再起動
101 getlanguage()
102 setdefaultlanguage('')
103
104 // scilabを再起動
105  ]]></programlisting>
106         
107     </refsection>
108     
109     <refsection role="see also">
110         
111         <title>参照</title>
112         
113         <simplelist type="inline">
114             
115             <member>
116                 
117                 <link linkend="getlanguage">getlanguage</link>
118                 
119             </member>
120             
121             <member>
122                 
123                 <link linkend="setlanguage">setlanguage</link>
124                 
125             </member>
126             
127         </simplelist>
128         
129     </refsection>
130     
131 </refentry>
132