comparison man/lispref/internationalization.texi @ 5791:9fae6227ede5

Silence texinfo 5.2 warnings, primarily by adding next, prev, and up pointers to all nodes. See xemacs-patches message with ID <5315f7bf.sHpFD7lXYR05GH6E%james@xemacs.org>.
author Jerry James <james@xemacs.org>
date Thu, 27 Mar 2014 08:59:03 -0600
parents a46c5c8d6564
children
comparison
equal deleted inserted replaced
5790:dcf9067f26bb 5791:9fae6227ede5
1 @c -*-texinfo-*- 1 @c -*-texinfo-*-
2 @c This is part of the XEmacs Lisp Reference Manual. 2 @c This is part of the XEmacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc. 3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
4 @c See the file lispref.texi for copying conditions. 4 @c See the file lispref.texi for copying conditions.
5 @setfilename ../../info/internationalization.info 5 @setfilename ../../info/internationalization.info
6 @node Internationalization, MULE, PostgreSQL Support, top 6 @node Internationalization, MULE, PostgreSQL Support, Top
7 @chapter Internationalization 7 @chapter Internationalization
8 8
9 @menu 9 @menu
10 * I18N Levels 1 and 2:: Support for different time, date, and currency formats. 10 * I18N Levels 1 and 2:: Support for different time, date, and currency formats.
11 * I18N Level 3:: Support for localized messages. 11 * I18N Level 3:: Support for localized messages.
12 * I18N Level 4:: Support for Asian languages. 12 * I18N Level 4:: Support for Asian languages.
13 @end menu 13 @end menu
14 14
15 15
16 @node I18N Levels 1 and 2 16 @node I18N Levels 1 and 2, I18N Level 3, Internationalization, Internationalization
17 @section I18N Levels 1 and 2 17 @section I18N Levels 1 and 2
18 18
19 XEmacs is now compliant with I18N levels 1 and 2. Specifically, this means 19 XEmacs is now compliant with I18N levels 1 and 2. Specifically, this means
20 that it is 8-bit clean and correctly handles time and date functions. XEmacs 20 that it is 8-bit clean and correctly handles time and date functions. XEmacs
21 will correctly display the entire ISO-Latin 1 character set. 21 will correctly display the entire ISO-Latin 1 character set.
25 compose key to work it is necessary to load the file @file{x-compose.el}. 25 compose key to work it is necessary to load the file @file{x-compose.el}.
26 At any time while composing a character, @code{C-h} will display all valid 26 At any time while composing a character, @code{C-h} will display all valid
27 completions and the character which would be produced. 27 completions and the character which would be produced.
28 28
29 29
30 @node I18N Level 3 30 @node I18N Level 3, I18N Level 4, I18N Levels 1 and 2, Internationalization
31 @section I18N Level 3 31 @section I18N Level 3
32 32
33 @menu 33 @menu
34 * Level 3 Basics:: 34 * Level 3 Basics::
35 * Level 3 Primitives:: 35 * Level 3 Primitives::
36 * Dynamic Messaging:: 36 * Dynamic Messaging::
37 * Domain Specification:: 37 * Domain Specification::
38 @end menu 38 @end menu
39 39
40 @node Level 3 Basics 40 @node Level 3 Basics, Level 3 Primitives, I18N Level 3, I18N Level 3
41 @subsection Level 3 Basics 41 @subsection Level 3 Basics
42 42
43 XEmacs now provides alpha-level functionality for I18N Level 3. This means 43 XEmacs now provides alpha-level functionality for I18N Level 3. This means
44 that everything necessary for full messaging is available, but not every 44 that everything necessary for full messaging is available, but not every
45 file has been converted. 45 file has been converted.
54 the property name @var{variable-domain}. The function 54 the property name @var{variable-domain}. The function
55 @code{documentation-property} uses this information when translating a 55 @code{documentation-property} uses this information when translating a
56 variable's documentation. 56 variable's documentation.
57 57
58 58
59 @node Level 3 Primitives 59 @node Level 3 Primitives, Dynamic Messaging, Level 3 Basics, I18N Level 3
60 @subsection Level 3 Primitives 60 @subsection Level 3 Primitives
61 61
62 @defun gettext string 62 @defun gettext string
63 This function looks up @var{string} in the default message domain and 63 This function looks up @var{string} in the default message domain and
64 returns its translation. If @code{I18N3} was not enabled when XEmacs was 64 returns its translation. If @code{I18N3} was not enabled when XEmacs was
101 @code{nil} if it is the default domain. If @code{I18N3} was not enabled 101 @code{nil} if it is the default domain. If @code{I18N3} was not enabled
102 when XEmacs was compiled, it always returns @code{nil}. 102 when XEmacs was compiled, it always returns @code{nil}.
103 @end defun 103 @end defun
104 104
105 105
106 @node Dynamic Messaging 106 @node Dynamic Messaging, Domain Specification, Level 3 Primitives, I18N Level 3
107 @subsection Dynamic Messaging 107 @subsection Dynamic Messaging
108 108
109 The @code{format} function has been extended to permit you to change the 109 The @code{format} function has been extended to permit you to change the
110 order of parameter insertion. For example, the conversion format 110 order of parameter insertion. For example, the conversion format
111 @code{%1$s} inserts parameter one as a string, while @code{%2$s} inserts 111 @code{%1$s} inserts parameter one as a string, while @code{%2$s} inserts
112 parameter two. This is useful when creating translations which require you 112 parameter two. This is useful when creating translations which require you
113 to change the word order. 113 to change the word order.
114 114
115 115
116 @node Domain Specification 116 @node Domain Specification, , Dynamic Messaging, I18N Level 3
117 @subsection Domain Specification 117 @subsection Domain Specification
118 118
119 The default message domain of XEmacs is `emacs'. For add-on packages, it is 119 The default message domain of XEmacs is `emacs'. For add-on packages, it is
120 best to use a different domain. For example, let us say we want to convert 120 best to use a different domain. For example, let us say we want to convert
121 the ``gorilla'' package to use the domain `emacs-gorilla'. 121 the ``gorilla'' package to use the domain `emacs-gorilla'.
165 @example 165 @example
166 (autoload 'explore "jungle" "Explore the jungle." nil nil "emacs-gorilla") 166 (autoload 'explore "jungle" "Explore the jungle." nil nil "emacs-gorilla")
167 @end example 167 @end example
168 @end defun 168 @end defun
169 169
170 @node I18N Level 4 170 @node I18N Level 4, , I18N Level 3, Internationalization
171 @section I18N Level 4 171 @section I18N Level 4
172 172
173 The Asian-language support in XEmacs is called ``MULE''. @xref{MULE}. 173 The Asian-language support in XEmacs is called ``MULE''. @xref{MULE}.