[doc] misc. fix & improvements
[scilab.git] / scilab / modules / localization / help / en_US / getlanguage.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2007 - INRIA - Allan CORNET
5  * Copyright (C) 2007 - INRIA - Sylvestre LEDRU
6  *
7  * Copyright (C) 2012 - 2016 - Scilab Enterprises
8  *
9  * This file is hereby licensed under the terms of the GNU GPL v2.0,
10  * pursuant to article 5.3.4 of the CeCILL v.2.1.
11  * This file was originally licensed under the terms of the CeCILL v2.1,
12  * and continues to be available under such terms.
13  * For more information, see the COPYING file which you should have received
14  * along with this program.
15  *
16  -->
17 <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">
18     <refnamediv>
19         <refname>getlanguage</refname>
20         <refpurpose>returns the current language used by Scilab.</refpurpose>
21     </refnamediv>
22     <refsynopsisdiv>
23         <title>Syntax</title>
24         <synopsis>getlanguage()</synopsis>
25     </refsynopsisdiv>
26     <refsection>
27         <title>Description</title>
28         <para>
29             <literal>getlanguage()</literal> returns the current language used by Scilab.
30         </para>
31     </refsection>
32     <refsection>
33         <title>Examples</title>
34         <programlisting role="example"><![CDATA[
35 setlanguage('en_US')
36 getlanguage()
37  ]]></programlisting>
38     </refsection>
39     <refsection role="see also">
40         <title>See also</title>
41         <simplelist type="inline">
42             <member>
43                 <link linkend="setlanguage">setlanguage</link>
44             </member>
45         </simplelist>
46     </refsection>
47 </refentry>