Skip to content

Commit

Permalink
Translate create_database.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
rjuju authored and gleu committed Jun 16, 2017
1 parent 8edc28b commit e4ca733
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions postgresql/ref/create_database.xml
Original file line number Diff line number Diff line change
Expand Up @@ -295,33 +295,35 @@
</para>

<para>
To create a database <literal>music</literal> with a different locale:
Pour créer une base <literal>music</literal> avec une locale différente :
<programlisting>
CREATE DATABASE music
LC_COLLATE 'sv_SE.utf8' LC_CTYPE 'sv_SE.utf8'
TEMPLATE template0;
</programlisting>
In this example, the <literal>TEMPLATE template0</literal> clause is required if
the specified locale is different from the one in <literal>template1</literal>.
(If it is not, then specifying the locale explicitly is redundant.)
Dans cet exemple, la clause <literal>TEMPLATE template0</literal> est
nécessaire si la locale spécifiée est différente de celle de
<literal>template1</literal>. (Sinon, préciser explicitement la locale est
redondant.)
</para>

<para>
To create a database <literal>music2</literal> with a different locale and a
different character set encoding:
Pour créer une base <literal>music2</literal> avec une locale différente et
et un jeu de caractère différent :

<programlisting>+CREATE DATABASE music2
LC_COLLATE 'sv_SE.iso885915' LC_CTYPE 'sv_SE.iso885915'
ENCODING LATIN9
TEMPLATE template0;
</programlisting>
The specified locale and encoding settings must match, or an error will be
reported.
La locale et l'encodage spécifiés doivent correspondre, ou une erreur sera
levée.
</para>

<para>
Note that locale names are specific to the operating system, so that the
above commands might not work in the same way everywhere.
Veuillez noter que les noms de locale sont spécifiques au système
d'exploitation, par conséquent la commande précédente pourrait ne pas
fonctionner de la même façon partout.
</para>
</refsect1>

Expand Down

0 comments on commit e4ca733

Please sign in to comment.