Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c28b91e

Browse files
author
Liudmila Mantrova
committed
DOC: clarified translation functionality in demodb docs
1 parent 4cf390c commit c28b91e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/src/sgml/demodb-bookings.sgml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -754,9 +754,9 @@ Referenced by:
754754
<para>
755755
Some fields in the demo database are available in English and Russian.
756756
Translations to other languages are not provided, but are easy to add.
757-
The <function>bookings.lang</function> function selects the language
758-
in which to display these fields, returning the value of the
759-
<parameter>bookings.lang</parameter> parameter.
757+
The <function>bookings.lang</function> returns the value of the
758+
<parameter>bookings.lang</parameter> parameter, that is, the language
759+
in which these fields will be displayed.
760760
</para>
761761

762762
<para>
@@ -811,6 +811,9 @@ ALTER DATABASE demo SET bookings.lang = en;
811811
For other methods of settings configuration parameters,
812812
see <xref linkend="config-setting">.
813813
</para>
814+
815+
<para>In the examples below, the English language is selected for translatable fields.
816+
</para>
814817
</sect2>
815818

816819

@@ -822,7 +825,7 @@ ALTER DATABASE demo SET bookings.lang = en;
822825
</para>
823826

824827
<para>
825-
The results displayed below were received on a small database version (demo_small) of August 15, 2017.
828+
The results displayed below were received on a small database version (demo-small) of August 15, 2017.
826829
If the same queries return different data on your system,
827830
check your demo database version (using the <function>bookings.now</function> function).
828831
Some minor deviations may be caused by the difference between your local time and Moscow time,

0 commit comments

Comments
 (0)