Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / doc / gettext / gettext_toc.html
blobfeb68f0a72f484cb3b30170637fbf44add16244a
1 <HTML>
2 <HEAD>
3 <!-- This HTML file has been created by texi2html 1.52b
4 from gettext.texi on 6 June 2010 -->
6 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
7 <TITLE>GNU gettext utilities - Table of Contents</TITLE>
8 </HEAD>
9 <BODY>
10 <H1>GNU gettext tools, version 0.18.1</H1>
11 <H2>Native Language Support Library and Tools</H2>
12 <H2>Edition 0.18.1, 6 June 2010</H2>
13 <ADDRESS>Ulrich Drepper</ADDRESS>
14 <ADDRESS>Jim Meyering</ADDRESS>
15 <ADDRESS>Fran&ccedil;ois Pinard</ADDRESS>
16 <ADDRESS>Bruno Haible</ADDRESS>
17 <P>
18 <P><HR><P>
19 <UL>
20 <LI><A NAME="TOC1" HREF="gettext_1.html#SEC1">1 Introduction</A>
21 <UL>
22 <LI><A NAME="TOC2" HREF="gettext_1.html#SEC2">1.1 The Purpose of GNU <CODE>gettext</CODE></A>
23 <LI><A NAME="TOC3" HREF="gettext_1.html#SEC3">1.2 I18n, L10n, and Such</A>
24 <LI><A NAME="TOC4" HREF="gettext_1.html#SEC4">1.3 Aspects in Native Language Support</A>
25 <LI><A NAME="TOC5" HREF="gettext_1.html#SEC5">1.4 Files Conveying Translations</A>
26 <LI><A NAME="TOC6" HREF="gettext_1.html#SEC6">1.5 Overview of GNU <CODE>gettext</CODE></A>
27 </UL>
28 <LI><A NAME="TOC7" HREF="gettext_2.html#SEC7">2 The User's View</A>
29 <UL>
30 <LI><A NAME="TOC8" HREF="gettext_2.html#SEC8">2.1 Operating System Installation</A>
31 <LI><A NAME="TOC9" HREF="gettext_2.html#SEC9">2.2 Setting the Locale Used by GUI Programs</A>
32 <LI><A NAME="TOC10" HREF="gettext_2.html#SEC10">2.3 Setting the Locale through Environment Variables</A>
33 <UL>
34 <LI><A NAME="TOC11" HREF="gettext_2.html#SEC11">2.3.1 Locale Names</A>
35 <LI><A NAME="TOC12" HREF="gettext_2.html#SEC12">2.3.2 Locale Environment Variables</A>
36 <LI><A NAME="TOC13" HREF="gettext_2.html#SEC13">2.3.3 Specifying a Priority List of Languages</A>
37 </UL>
38 <LI><A NAME="TOC14" HREF="gettext_2.html#SEC14">2.4 Installing Translations for Particular Programs</A>
39 </UL>
40 <LI><A NAME="TOC15" HREF="gettext_3.html#SEC15">3 The Format of PO Files</A>
41 <LI><A NAME="TOC16" HREF="gettext_4.html#SEC16">4 Preparing Program Sources</A>
42 <UL>
43 <LI><A NAME="TOC17" HREF="gettext_4.html#SEC17">4.1 Importing the <CODE>gettext</CODE> declaration</A>
44 <LI><A NAME="TOC18" HREF="gettext_4.html#SEC18">4.2 Triggering <CODE>gettext</CODE> Operations</A>
45 <LI><A NAME="TOC19" HREF="gettext_4.html#SEC19">4.3 Preparing Translatable Strings</A>
46 <LI><A NAME="TOC20" HREF="gettext_4.html#SEC20">4.4 How Marks Appear in Sources</A>
47 <LI><A NAME="TOC21" HREF="gettext_4.html#SEC21">4.5 Marking Translatable Strings</A>
48 <LI><A NAME="TOC22" HREF="gettext_4.html#SEC22">4.6 Special Comments preceding Keywords</A>
49 <LI><A NAME="TOC23" HREF="gettext_4.html#SEC23">4.7 Special Cases of Translatable Strings</A>
50 <LI><A NAME="TOC24" HREF="gettext_4.html#SEC24">4.8 Letting Users Report Translation Bugs</A>
51 <LI><A NAME="TOC25" HREF="gettext_4.html#SEC25">4.9 Marking Proper Names for Translation</A>
52 <LI><A NAME="TOC26" HREF="gettext_4.html#SEC26">4.10 Preparing Library Sources</A>
53 </UL>
54 <LI><A NAME="TOC27" HREF="gettext_5.html#SEC27">5 Making the PO Template File</A>
55 <UL>
56 <LI><A NAME="TOC28" HREF="gettext_5.html#SEC28">5.1 Invoking the <CODE>xgettext</CODE> Program</A>
57 <UL>
58 <LI><A NAME="TOC29" HREF="gettext_5.html#SEC29">5.1.1 Input file location</A>
59 <LI><A NAME="TOC30" HREF="gettext_5.html#SEC30">5.1.2 Output file location</A>
60 <LI><A NAME="TOC31" HREF="gettext_5.html#SEC31">5.1.3 Choice of input file language</A>
61 <LI><A NAME="TOC32" HREF="gettext_5.html#SEC32">5.1.4 Input file interpretation</A>
62 <LI><A NAME="TOC33" HREF="gettext_5.html#SEC33">5.1.5 Operation mode</A>
63 <LI><A NAME="TOC34" HREF="gettext_5.html#SEC34">5.1.6 Language specific options</A>
64 <LI><A NAME="TOC35" HREF="gettext_5.html#SEC35">5.1.7 Output details</A>
65 <LI><A NAME="TOC36" HREF="gettext_5.html#SEC36">5.1.8 Informative output</A>
66 </UL>
67 </UL>
68 <LI><A NAME="TOC37" HREF="gettext_6.html#SEC37">6 Creating a New PO File</A>
69 <UL>
70 <LI><A NAME="TOC38" HREF="gettext_6.html#SEC38">6.1 Invoking the <CODE>msginit</CODE> Program</A>
71 <UL>
72 <LI><A NAME="TOC39" HREF="gettext_6.html#SEC39">6.1.1 Input file location</A>
73 <LI><A NAME="TOC40" HREF="gettext_6.html#SEC40">6.1.2 Output file location</A>
74 <LI><A NAME="TOC41" HREF="gettext_6.html#SEC41">6.1.3 Input file syntax</A>
75 <LI><A NAME="TOC42" HREF="gettext_6.html#SEC42">6.1.4 Output details</A>
76 <LI><A NAME="TOC43" HREF="gettext_6.html#SEC43">6.1.5 Informative output</A>
77 </UL>
78 <LI><A NAME="TOC44" HREF="gettext_6.html#SEC44">6.2 Filling in the Header Entry</A>
79 </UL>
80 <LI><A NAME="TOC45" HREF="gettext_7.html#SEC45">7 Updating Existing PO Files</A>
81 <UL>
82 <LI><A NAME="TOC46" HREF="gettext_7.html#SEC46">7.1 Invoking the <CODE>msgmerge</CODE> Program</A>
83 <UL>
84 <LI><A NAME="TOC47" HREF="gettext_7.html#SEC47">7.1.1 Input file location</A>
85 <LI><A NAME="TOC48" HREF="gettext_7.html#SEC48">7.1.2 Operation mode</A>
86 <LI><A NAME="TOC49" HREF="gettext_7.html#SEC49">7.1.3 Output file location</A>
87 <LI><A NAME="TOC50" HREF="gettext_7.html#SEC50">7.1.4 Output file location in update mode</A>
88 <LI><A NAME="TOC51" HREF="gettext_7.html#SEC51">7.1.5 Operation modifiers</A>
89 <LI><A NAME="TOC52" HREF="gettext_7.html#SEC52">7.1.6 Input file syntax</A>
90 <LI><A NAME="TOC53" HREF="gettext_7.html#SEC53">7.1.7 Output details</A>
91 <LI><A NAME="TOC54" HREF="gettext_7.html#SEC54">7.1.8 Informative output</A>
92 </UL>
93 </UL>
94 <LI><A NAME="TOC55" HREF="gettext_8.html#SEC55">8 Editing PO Files</A>
95 <UL>
96 <LI><A NAME="TOC56" HREF="gettext_8.html#SEC56">8.1 KDE's PO File Editor</A>
97 <LI><A NAME="TOC57" HREF="gettext_8.html#SEC57">8.2 GNOME's PO File Editor</A>
98 <LI><A NAME="TOC58" HREF="gettext_8.html#SEC58">8.3 Emacs's PO File Editor</A>
99 <UL>
100 <LI><A NAME="TOC59" HREF="gettext_8.html#SEC59">8.3.1 Completing GNU <CODE>gettext</CODE> Installation</A>
101 <LI><A NAME="TOC60" HREF="gettext_8.html#SEC60">8.3.2 Main PO mode Commands</A>
102 <LI><A NAME="TOC61" HREF="gettext_8.html#SEC61">8.3.3 Entry Positioning</A>
103 <LI><A NAME="TOC62" HREF="gettext_8.html#SEC62">8.3.4 Normalizing Strings in Entries</A>
104 <LI><A NAME="TOC63" HREF="gettext_8.html#SEC63">8.3.5 Translated Entries</A>
105 <LI><A NAME="TOC64" HREF="gettext_8.html#SEC64">8.3.6 Fuzzy Entries</A>
106 <LI><A NAME="TOC65" HREF="gettext_8.html#SEC65">8.3.7 Untranslated Entries</A>
107 <LI><A NAME="TOC66" HREF="gettext_8.html#SEC66">8.3.8 Obsolete Entries</A>
108 <LI><A NAME="TOC67" HREF="gettext_8.html#SEC67">8.3.9 Modifying Translations</A>
109 <LI><A NAME="TOC68" HREF="gettext_8.html#SEC68">8.3.10 Modifying Comments</A>
110 <LI><A NAME="TOC69" HREF="gettext_8.html#SEC69">8.3.11 Details of Sub Edition</A>
111 <LI><A NAME="TOC70" HREF="gettext_8.html#SEC70">8.3.12 C Sources Context</A>
112 <LI><A NAME="TOC71" HREF="gettext_8.html#SEC71">8.3.13 Consulting Auxiliary PO Files</A>
113 </UL>
114 <LI><A NAME="TOC72" HREF="gettext_8.html#SEC72">8.4 Using Translation Compendia</A>
115 <UL>
116 <LI><A NAME="TOC73" HREF="gettext_8.html#SEC73">8.4.1 Creating Compendia</A>
117 <UL>
118 <LI><A NAME="TOC74" HREF="gettext_8.html#SEC74">8.4.1.1 Concatenate PO Files</A>
119 <LI><A NAME="TOC75" HREF="gettext_8.html#SEC75">8.4.1.2 Extract a Message Subset from a PO File</A>
120 </UL>
121 <LI><A NAME="TOC76" HREF="gettext_8.html#SEC76">8.4.2 Using Compendia</A>
122 <UL>
123 <LI><A NAME="TOC77" HREF="gettext_8.html#SEC77">8.4.2.1 Initialize a New Translation File</A>
124 <LI><A NAME="TOC78" HREF="gettext_8.html#SEC78">8.4.2.2 Update an Existing Translation File</A>
125 </UL>
126 </UL>
127 </UL>
128 <LI><A NAME="TOC79" HREF="gettext_9.html#SEC79">9 Manipulating PO Files</A>
129 <UL>
130 <LI><A NAME="TOC80" HREF="gettext_9.html#SEC80">9.1 Invoking the <CODE>msgcat</CODE> Program</A>
131 <UL>
132 <LI><A NAME="TOC81" HREF="gettext_9.html#SEC81">9.1.1 Input file location</A>
133 <LI><A NAME="TOC82" HREF="gettext_9.html#SEC82">9.1.2 Output file location</A>
134 <LI><A NAME="TOC83" HREF="gettext_9.html#SEC83">9.1.3 Message selection</A>
135 <LI><A NAME="TOC84" HREF="gettext_9.html#SEC84">9.1.4 Input file syntax</A>
136 <LI><A NAME="TOC85" HREF="gettext_9.html#SEC85">9.1.5 Output details</A>
137 <LI><A NAME="TOC86" HREF="gettext_9.html#SEC86">9.1.6 Informative output</A>
138 </UL>
139 <LI><A NAME="TOC87" HREF="gettext_9.html#SEC87">9.2 Invoking the <CODE>msgconv</CODE> Program</A>
140 <UL>
141 <LI><A NAME="TOC88" HREF="gettext_9.html#SEC88">9.2.1 Input file location</A>
142 <LI><A NAME="TOC89" HREF="gettext_9.html#SEC89">9.2.2 Output file location</A>
143 <LI><A NAME="TOC90" HREF="gettext_9.html#SEC90">9.2.3 Conversion target</A>
144 <LI><A NAME="TOC91" HREF="gettext_9.html#SEC91">9.2.4 Input file syntax</A>
145 <LI><A NAME="TOC92" HREF="gettext_9.html#SEC92">9.2.5 Output details</A>
146 <LI><A NAME="TOC93" HREF="gettext_9.html#SEC93">9.2.6 Informative output</A>
147 </UL>
148 <LI><A NAME="TOC94" HREF="gettext_9.html#SEC94">9.3 Invoking the <CODE>msggrep</CODE> Program</A>
149 <UL>
150 <LI><A NAME="TOC95" HREF="gettext_9.html#SEC95">9.3.1 Input file location</A>
151 <LI><A NAME="TOC96" HREF="gettext_9.html#SEC96">9.3.2 Output file location</A>
152 <LI><A NAME="TOC97" HREF="gettext_9.html#SEC97">9.3.3 Message selection</A>
153 <LI><A NAME="TOC98" HREF="gettext_9.html#SEC98">9.3.4 Input file syntax</A>
154 <LI><A NAME="TOC99" HREF="gettext_9.html#SEC99">9.3.5 Output details</A>
155 <LI><A NAME="TOC100" HREF="gettext_9.html#SEC100">9.3.6 Informative output</A>
156 <LI><A NAME="TOC101" HREF="gettext_9.html#SEC101">9.3.7 Examples</A>
157 </UL>
158 <LI><A NAME="TOC102" HREF="gettext_9.html#SEC102">9.4 Invoking the <CODE>msgfilter</CODE> Program</A>
159 <UL>
160 <LI><A NAME="TOC103" HREF="gettext_9.html#SEC103">9.4.1 Input file location</A>
161 <LI><A NAME="TOC104" HREF="gettext_9.html#SEC104">9.4.2 Output file location</A>
162 <LI><A NAME="TOC105" HREF="gettext_9.html#SEC105">9.4.3 The filter</A>
163 <LI><A NAME="TOC106" HREF="gettext_9.html#SEC106">9.4.4 Useful <VAR>filter-option</VAR>s when the <VAR>filter</VAR> is <SAMP>&lsquo;sed&rsquo;</SAMP></A>
164 <LI><A NAME="TOC107" HREF="gettext_9.html#SEC107">9.4.5 Built-in <VAR>filter</VAR>s</A>
165 <LI><A NAME="TOC108" HREF="gettext_9.html#SEC108">9.4.6 Input file syntax</A>
166 <LI><A NAME="TOC109" HREF="gettext_9.html#SEC109">9.4.7 Output details</A>
167 <LI><A NAME="TOC110" HREF="gettext_9.html#SEC110">9.4.8 Informative output</A>
168 <LI><A NAME="TOC111" HREF="gettext_9.html#SEC111">9.4.9 Examples</A>
169 </UL>
170 <LI><A NAME="TOC112" HREF="gettext_9.html#SEC112">9.5 Invoking the <CODE>msguniq</CODE> Program</A>
171 <UL>
172 <LI><A NAME="TOC113" HREF="gettext_9.html#SEC113">9.5.1 Input file location</A>
173 <LI><A NAME="TOC114" HREF="gettext_9.html#SEC114">9.5.2 Output file location</A>
174 <LI><A NAME="TOC115" HREF="gettext_9.html#SEC115">9.5.3 Message selection</A>
175 <LI><A NAME="TOC116" HREF="gettext_9.html#SEC116">9.5.4 Input file syntax</A>
176 <LI><A NAME="TOC117" HREF="gettext_9.html#SEC117">9.5.5 Output details</A>
177 <LI><A NAME="TOC118" HREF="gettext_9.html#SEC118">9.5.6 Informative output</A>
178 </UL>
179 <LI><A NAME="TOC119" HREF="gettext_9.html#SEC119">9.6 Invoking the <CODE>msgcomm</CODE> Program</A>
180 <UL>
181 <LI><A NAME="TOC120" HREF="gettext_9.html#SEC120">9.6.1 Input file location</A>
182 <LI><A NAME="TOC121" HREF="gettext_9.html#SEC121">9.6.2 Output file location</A>
183 <LI><A NAME="TOC122" HREF="gettext_9.html#SEC122">9.6.3 Message selection</A>
184 <LI><A NAME="TOC123" HREF="gettext_9.html#SEC123">9.6.4 Input file syntax</A>
185 <LI><A NAME="TOC124" HREF="gettext_9.html#SEC124">9.6.5 Output details</A>
186 <LI><A NAME="TOC125" HREF="gettext_9.html#SEC125">9.6.6 Informative output</A>
187 </UL>
188 <LI><A NAME="TOC126" HREF="gettext_9.html#SEC126">9.7 Invoking the <CODE>msgcmp</CODE> Program</A>
189 <UL>
190 <LI><A NAME="TOC127" HREF="gettext_9.html#SEC127">9.7.1 Input file location</A>
191 <LI><A NAME="TOC128" HREF="gettext_9.html#SEC128">9.7.2 Operation modifiers</A>
192 <LI><A NAME="TOC129" HREF="gettext_9.html#SEC129">9.7.3 Input file syntax</A>
193 <LI><A NAME="TOC130" HREF="gettext_9.html#SEC130">9.7.4 Informative output</A>
194 </UL>
195 <LI><A NAME="TOC131" HREF="gettext_9.html#SEC131">9.8 Invoking the <CODE>msgattrib</CODE> Program</A>
196 <UL>
197 <LI><A NAME="TOC132" HREF="gettext_9.html#SEC132">9.8.1 Input file location</A>
198 <LI><A NAME="TOC133" HREF="gettext_9.html#SEC133">9.8.2 Output file location</A>
199 <LI><A NAME="TOC134" HREF="gettext_9.html#SEC134">9.8.3 Message selection</A>
200 <LI><A NAME="TOC135" HREF="gettext_9.html#SEC135">9.8.4 Attribute manipulation</A>
201 <LI><A NAME="TOC136" HREF="gettext_9.html#SEC136">9.8.5 Input file syntax</A>
202 <LI><A NAME="TOC137" HREF="gettext_9.html#SEC137">9.8.6 Output details</A>
203 <LI><A NAME="TOC138" HREF="gettext_9.html#SEC138">9.8.7 Informative output</A>
204 </UL>
205 <LI><A NAME="TOC139" HREF="gettext_9.html#SEC139">9.9 Invoking the <CODE>msgen</CODE> Program</A>
206 <UL>
207 <LI><A NAME="TOC140" HREF="gettext_9.html#SEC140">9.9.1 Input file location</A>
208 <LI><A NAME="TOC141" HREF="gettext_9.html#SEC141">9.9.2 Output file location</A>
209 <LI><A NAME="TOC142" HREF="gettext_9.html#SEC142">9.9.3 Input file syntax</A>
210 <LI><A NAME="TOC143" HREF="gettext_9.html#SEC143">9.9.4 Output details</A>
211 <LI><A NAME="TOC144" HREF="gettext_9.html#SEC144">9.9.5 Informative output</A>
212 </UL>
213 <LI><A NAME="TOC145" HREF="gettext_9.html#SEC145">9.10 Invoking the <CODE>msgexec</CODE> Program</A>
214 <UL>
215 <LI><A NAME="TOC146" HREF="gettext_9.html#SEC146">9.10.1 Input file location</A>
216 <LI><A NAME="TOC147" HREF="gettext_9.html#SEC147">9.10.2 Input file syntax</A>
217 <LI><A NAME="TOC148" HREF="gettext_9.html#SEC148">9.10.3 Informative output</A>
218 </UL>
219 <LI><A NAME="TOC149" HREF="gettext_9.html#SEC149">9.11 Highlighting parts of PO files</A>
220 <UL>
221 <LI><A NAME="TOC150" HREF="gettext_9.html#SEC150">9.11.1 The <CODE>--color</CODE> option</A>
222 <LI><A NAME="TOC151" HREF="gettext_9.html#SEC151">9.11.2 The environment variable <CODE>TERM</CODE></A>
223 <LI><A NAME="TOC152" HREF="gettext_9.html#SEC152">9.11.3 The <CODE>--style</CODE> option</A>
224 <LI><A NAME="TOC153" HREF="gettext_9.html#SEC153">9.11.4 Style rules for PO files</A>
225 <LI><A NAME="TOC154" HREF="gettext_9.html#SEC154">9.11.5 Customizing <CODE>less</CODE> for viewing PO files</A>
226 </UL>
227 <LI><A NAME="TOC155" HREF="gettext_9.html#SEC155">9.12 Writing your own programs that process PO files</A>
228 </UL>
229 <LI><A NAME="TOC156" HREF="gettext_10.html#SEC156">10 Producing Binary MO Files</A>
230 <UL>
231 <LI><A NAME="TOC157" HREF="gettext_10.html#SEC157">10.1 Invoking the <CODE>msgfmt</CODE> Program</A>
232 <UL>
233 <LI><A NAME="TOC158" HREF="gettext_10.html#SEC158">10.1.1 Input file location</A>
234 <LI><A NAME="TOC159" HREF="gettext_10.html#SEC159">10.1.2 Operation mode</A>
235 <LI><A NAME="TOC160" HREF="gettext_10.html#SEC160">10.1.3 Output file location</A>
236 <LI><A NAME="TOC161" HREF="gettext_10.html#SEC161">10.1.4 Output file location in Java mode</A>
237 <LI><A NAME="TOC162" HREF="gettext_10.html#SEC162">10.1.5 Output file location in C# mode</A>
238 <LI><A NAME="TOC163" HREF="gettext_10.html#SEC163">10.1.6 Output file location in Tcl mode</A>
239 <LI><A NAME="TOC164" HREF="gettext_10.html#SEC164">10.1.7 Input file syntax</A>
240 <LI><A NAME="TOC165" HREF="gettext_10.html#SEC165">10.1.8 Input file interpretation</A>
241 <LI><A NAME="TOC166" HREF="gettext_10.html#SEC166">10.1.9 Output details</A>
242 <LI><A NAME="TOC167" HREF="gettext_10.html#SEC167">10.1.10 Informative output</A>
243 </UL>
244 <LI><A NAME="TOC168" HREF="gettext_10.html#SEC168">10.2 Invoking the <CODE>msgunfmt</CODE> Program</A>
245 <UL>
246 <LI><A NAME="TOC169" HREF="gettext_10.html#SEC169">10.2.1 Operation mode</A>
247 <LI><A NAME="TOC170" HREF="gettext_10.html#SEC170">10.2.2 Input file location</A>
248 <LI><A NAME="TOC171" HREF="gettext_10.html#SEC171">10.2.3 Input file location in Java mode</A>
249 <LI><A NAME="TOC172" HREF="gettext_10.html#SEC172">10.2.4 Input file location in C# mode</A>
250 <LI><A NAME="TOC173" HREF="gettext_10.html#SEC173">10.2.5 Input file location in Tcl mode</A>
251 <LI><A NAME="TOC174" HREF="gettext_10.html#SEC174">10.2.6 Output file location</A>
252 <LI><A NAME="TOC175" HREF="gettext_10.html#SEC175">10.2.7 Output details</A>
253 <LI><A NAME="TOC176" HREF="gettext_10.html#SEC176">10.2.8 Informative output</A>
254 </UL>
255 <LI><A NAME="TOC177" HREF="gettext_10.html#SEC177">10.3 The Format of GNU MO Files</A>
256 </UL>
257 <LI><A NAME="TOC178" HREF="gettext_11.html#SEC178">11 The Programmer's View</A>
258 <UL>
259 <LI><A NAME="TOC179" HREF="gettext_11.html#SEC179">11.1 About <CODE>catgets</CODE></A>
260 <UL>
261 <LI><A NAME="TOC180" HREF="gettext_11.html#SEC180">11.1.1 The Interface</A>
262 <LI><A NAME="TOC181" HREF="gettext_11.html#SEC181">11.1.2 Problems with the <CODE>catgets</CODE> Interface?!</A>
263 </UL>
264 <LI><A NAME="TOC182" HREF="gettext_11.html#SEC182">11.2 About <CODE>gettext</CODE></A>
265 <UL>
266 <LI><A NAME="TOC183" HREF="gettext_11.html#SEC183">11.2.1 The Interface</A>
267 <LI><A NAME="TOC184" HREF="gettext_11.html#SEC184">11.2.2 Solving Ambiguities</A>
268 <LI><A NAME="TOC185" HREF="gettext_11.html#SEC185">11.2.3 Locating Message Catalog Files</A>
269 <LI><A NAME="TOC186" HREF="gettext_11.html#SEC186">11.2.4 How to specify the output character set <CODE>gettext</CODE> uses</A>
270 <LI><A NAME="TOC187" HREF="gettext_11.html#SEC187">11.2.5 Using contexts for solving ambiguities</A>
271 <LI><A NAME="TOC188" HREF="gettext_11.html#SEC188">11.2.6 Additional functions for plural forms</A>
272 <LI><A NAME="TOC189" HREF="gettext_11.html#SEC189">11.2.7 Optimization of the *gettext functions</A>
273 </UL>
274 <LI><A NAME="TOC190" HREF="gettext_11.html#SEC190">11.3 Comparing the Two Interfaces</A>
275 <LI><A NAME="TOC191" HREF="gettext_11.html#SEC191">11.4 Using libintl.a in own programs</A>
276 <LI><A NAME="TOC192" HREF="gettext_11.html#SEC192">11.5 Being a <CODE>gettext</CODE> grok</A>
277 <LI><A NAME="TOC193" HREF="gettext_11.html#SEC193">11.6 Temporary Notes for the Programmers Chapter</A>
278 <UL>
279 <LI><A NAME="TOC194" HREF="gettext_11.html#SEC194">11.6.1 Temporary - Two Possible Implementations</A>
280 <LI><A NAME="TOC195" HREF="gettext_11.html#SEC195">11.6.2 Temporary - About <CODE>catgets</CODE></A>
281 <LI><A NAME="TOC196" HREF="gettext_11.html#SEC196">11.6.3 Temporary - Why a single implementation</A>
282 <LI><A NAME="TOC197" HREF="gettext_11.html#SEC197">11.6.4 Temporary - Notes</A>
283 </UL>
284 </UL>
285 <LI><A NAME="TOC198" HREF="gettext_12.html#SEC198">12 The Translator's View</A>
286 <UL>
287 <LI><A NAME="TOC199" HREF="gettext_12.html#SEC199">12.1 Introduction 0</A>
288 <LI><A NAME="TOC200" HREF="gettext_12.html#SEC200">12.2 Introduction 1</A>
289 <LI><A NAME="TOC201" HREF="gettext_12.html#SEC201">12.3 Discussions</A>
290 <LI><A NAME="TOC202" HREF="gettext_12.html#SEC202">12.4 Organization</A>
291 <UL>
292 <LI><A NAME="TOC203" HREF="gettext_12.html#SEC203">12.4.1 Central Coordination</A>
293 <LI><A NAME="TOC204" HREF="gettext_12.html#SEC204">12.4.2 National Teams</A>
294 <UL>
295 <LI><A NAME="TOC205" HREF="gettext_12.html#SEC205">12.4.2.1 Sub-Cultures</A>
296 <LI><A NAME="TOC206" HREF="gettext_12.html#SEC206">12.4.2.2 Organizational Ideas</A>
297 </UL>
298 <LI><A NAME="TOC207" HREF="gettext_12.html#SEC207">12.4.3 Mailing Lists</A>
299 </UL>
300 <LI><A NAME="TOC208" HREF="gettext_12.html#SEC208">12.5 Information Flow</A>
301 <LI><A NAME="TOC209" HREF="gettext_12.html#SEC209">12.6 Translating plural forms</A>
302 <LI><A NAME="TOC210" HREF="gettext_12.html#SEC210">12.7 Prioritizing messages: How to determine which messages to translate first</A>
303 </UL>
304 <LI><A NAME="TOC211" HREF="gettext_13.html#SEC211">13 The Maintainer's View</A>
305 <UL>
306 <LI><A NAME="TOC212" HREF="gettext_13.html#SEC212">13.1 Flat or Non-Flat Directory Structures</A>
307 <LI><A NAME="TOC213" HREF="gettext_13.html#SEC213">13.2 Prerequisite Works</A>
308 <LI><A NAME="TOC214" HREF="gettext_13.html#SEC214">13.3 Invoking the <CODE>gettextize</CODE> Program</A>
309 <LI><A NAME="TOC215" HREF="gettext_13.html#SEC215">13.4 Files You Must Create or Alter</A>
310 <UL>
311 <LI><A NAME="TOC216" HREF="gettext_13.html#SEC216">13.4.1 <TT>&lsquo;POTFILES.in&rsquo;</TT> in <TT>&lsquo;po/&rsquo;</TT></A>
312 <LI><A NAME="TOC217" HREF="gettext_13.html#SEC217">13.4.2 <TT>&lsquo;LINGUAS&rsquo;</TT> in <TT>&lsquo;po/&rsquo;</TT></A>
313 <LI><A NAME="TOC218" HREF="gettext_13.html#SEC218">13.4.3 <TT>&lsquo;Makevars&rsquo;</TT> in <TT>&lsquo;po/&rsquo;</TT></A>
314 <LI><A NAME="TOC219" HREF="gettext_13.html#SEC219">13.4.4 Extending <TT>&lsquo;Makefile&rsquo;</TT> in <TT>&lsquo;po/&rsquo;</TT></A>
315 <LI><A NAME="TOC220" HREF="gettext_13.html#SEC220">13.4.5 <TT>&lsquo;configure.ac&rsquo;</TT> at top level</A>
316 <LI><A NAME="TOC221" HREF="gettext_13.html#SEC221">13.4.6 <TT>&lsquo;config.guess&rsquo;</TT>, <TT>&lsquo;config.sub&rsquo;</TT> at top level</A>
317 <LI><A NAME="TOC222" HREF="gettext_13.html#SEC222">13.4.7 <TT>&lsquo;mkinstalldirs&rsquo;</TT> at top level</A>
318 <LI><A NAME="TOC223" HREF="gettext_13.html#SEC223">13.4.8 <TT>&lsquo;aclocal.m4&rsquo;</TT> at top level</A>
319 <LI><A NAME="TOC224" HREF="gettext_13.html#SEC224">13.4.9 <TT>&lsquo;acconfig.h&rsquo;</TT> at top level</A>
320 <LI><A NAME="TOC225" HREF="gettext_13.html#SEC225">13.4.10 <TT>&lsquo;config.h.in&rsquo;</TT> at top level</A>
321 <LI><A NAME="TOC226" HREF="gettext_13.html#SEC226">13.4.11 <TT>&lsquo;Makefile.in&rsquo;</TT> at top level</A>
322 <LI><A NAME="TOC227" HREF="gettext_13.html#SEC227">13.4.12 <TT>&lsquo;Makefile.in&rsquo;</TT> in <TT>&lsquo;src/&rsquo;</TT></A>
323 <LI><A NAME="TOC228" HREF="gettext_13.html#SEC228">13.4.13 <TT>&lsquo;gettext.h&rsquo;</TT> in <TT>&lsquo;lib/&rsquo;</TT></A>
324 </UL>
325 <LI><A NAME="TOC229" HREF="gettext_13.html#SEC229">13.5 Autoconf macros for use in <TT>&lsquo;configure.ac&rsquo;</TT></A>
326 <UL>
327 <LI><A NAME="TOC230" HREF="gettext_13.html#SEC230">13.5.1 AM_GNU_GETTEXT in <TT>&lsquo;gettext.m4&rsquo;</TT></A>
328 <LI><A NAME="TOC231" HREF="gettext_13.html#SEC231">13.5.2 AM_GNU_GETTEXT_VERSION in <TT>&lsquo;gettext.m4&rsquo;</TT></A>
329 <LI><A NAME="TOC232" HREF="gettext_13.html#SEC232">13.5.3 AM_GNU_GETTEXT_NEED in <TT>&lsquo;gettext.m4&rsquo;</TT></A>
330 <LI><A NAME="TOC233" HREF="gettext_13.html#SEC233">13.5.4 AM_GNU_GETTEXT_INTL_SUBDIR in <TT>&lsquo;intldir.m4&rsquo;</TT></A>
331 <LI><A NAME="TOC234" HREF="gettext_13.html#SEC234">13.5.5 AM_PO_SUBDIRS in <TT>&lsquo;po.m4&rsquo;</TT></A>
332 <LI><A NAME="TOC235" HREF="gettext_13.html#SEC235">13.5.6 AM_XGETTEXT_OPTION in <TT>&lsquo;po.m4&rsquo;</TT></A>
333 <LI><A NAME="TOC236" HREF="gettext_13.html#SEC236">13.5.7 AM_ICONV in <TT>&lsquo;iconv.m4&rsquo;</TT></A>
334 </UL>
335 <LI><A NAME="TOC237" HREF="gettext_13.html#SEC237">13.6 Integrating with CVS</A>
336 <UL>
337 <LI><A NAME="TOC238" HREF="gettext_13.html#SEC238">13.6.1 Avoiding version mismatch in distributed development</A>
338 <LI><A NAME="TOC239" HREF="gettext_13.html#SEC239">13.6.2 Files to put under CVS version control</A>
339 <LI><A NAME="TOC240" HREF="gettext_13.html#SEC240">13.6.3 Invoking the <CODE>autopoint</CODE> Program</A>
340 <UL>
341 <LI><A NAME="TOC241" HREF="gettext_13.html#SEC241">13.6.3.1 Options</A>
342 <LI><A NAME="TOC242" HREF="gettext_13.html#SEC242">13.6.3.2 Informative output</A>
343 </UL>
344 </UL>
345 <LI><A NAME="TOC243" HREF="gettext_13.html#SEC243">13.7 Creating a Distribution Tarball</A>
346 </UL>
347 <LI><A NAME="TOC244" HREF="gettext_14.html#SEC244">14 The Installer's and Distributor's View</A>
348 <LI><A NAME="TOC245" HREF="gettext_15.html#SEC245">15 Other Programming Languages</A>
349 <UL>
350 <LI><A NAME="TOC246" HREF="gettext_15.html#SEC246">15.1 The Language Implementor's View</A>
351 <LI><A NAME="TOC247" HREF="gettext_15.html#SEC247">15.2 The Programmer's View</A>
352 <LI><A NAME="TOC248" HREF="gettext_15.html#SEC248">15.3 The Translator's View</A>
353 <UL>
354 <LI><A NAME="TOC249" HREF="gettext_15.html#SEC249">15.3.1 C Format Strings</A>
355 <LI><A NAME="TOC250" HREF="gettext_15.html#SEC250">15.3.2 Objective C Format Strings</A>
356 <LI><A NAME="TOC251" HREF="gettext_15.html#SEC251">15.3.3 Shell Format Strings</A>
357 <LI><A NAME="TOC252" HREF="gettext_15.html#SEC252">15.3.4 Python Format Strings</A>
358 <LI><A NAME="TOC253" HREF="gettext_15.html#SEC253">15.3.5 Lisp Format Strings</A>
359 <LI><A NAME="TOC254" HREF="gettext_15.html#SEC254">15.3.6 Emacs Lisp Format Strings</A>
360 <LI><A NAME="TOC255" HREF="gettext_15.html#SEC255">15.3.7 librep Format Strings</A>
361 <LI><A NAME="TOC256" HREF="gettext_15.html#SEC256">15.3.8 Scheme Format Strings</A>
362 <LI><A NAME="TOC257" HREF="gettext_15.html#SEC257">15.3.9 Smalltalk Format Strings</A>
363 <LI><A NAME="TOC258" HREF="gettext_15.html#SEC258">15.3.10 Java Format Strings</A>
364 <LI><A NAME="TOC259" HREF="gettext_15.html#SEC259">15.3.11 C# Format Strings</A>
365 <LI><A NAME="TOC260" HREF="gettext_15.html#SEC260">15.3.12 awk Format Strings</A>
366 <LI><A NAME="TOC261" HREF="gettext_15.html#SEC261">15.3.13 Object Pascal Format Strings</A>
367 <LI><A NAME="TOC262" HREF="gettext_15.html#SEC262">15.3.14 YCP Format Strings</A>
368 <LI><A NAME="TOC263" HREF="gettext_15.html#SEC263">15.3.15 Tcl Format Strings</A>
369 <LI><A NAME="TOC264" HREF="gettext_15.html#SEC264">15.3.16 Perl Format Strings</A>
370 <LI><A NAME="TOC265" HREF="gettext_15.html#SEC265">15.3.17 PHP Format Strings</A>
371 <LI><A NAME="TOC266" HREF="gettext_15.html#SEC266">15.3.18 GCC internal Format Strings</A>
372 <LI><A NAME="TOC267" HREF="gettext_15.html#SEC267">15.3.19 GFC internal Format Strings</A>
373 <LI><A NAME="TOC268" HREF="gettext_15.html#SEC268">15.3.20 Qt Format Strings</A>
374 <LI><A NAME="TOC269" HREF="gettext_15.html#SEC269">15.3.21 Qt Format Strings</A>
375 <LI><A NAME="TOC270" HREF="gettext_15.html#SEC270">15.3.22 KDE Format Strings</A>
376 <LI><A NAME="TOC271" HREF="gettext_15.html#SEC271">15.3.23 Boost Format Strings</A>
377 </UL>
378 <LI><A NAME="TOC272" HREF="gettext_15.html#SEC272">15.4 The Maintainer's View</A>
379 <LI><A NAME="TOC273" HREF="gettext_15.html#SEC273">15.5 Individual Programming Languages</A>
380 <UL>
381 <LI><A NAME="TOC274" HREF="gettext_15.html#SEC274">15.5.1 C, C++, Objective C</A>
382 <LI><A NAME="TOC275" HREF="gettext_15.html#SEC275">15.5.2 sh - Shell Script</A>
383 <UL>
384 <LI><A NAME="TOC276" HREF="gettext_15.html#SEC276">15.5.2.1 Preparing Shell Scripts for Internationalization</A>
385 <LI><A NAME="TOC277" HREF="gettext_15.html#SEC277">15.5.2.2 Contents of <CODE>gettext.sh</CODE></A>
386 <LI><A NAME="TOC278" HREF="gettext_15.html#SEC278">15.5.2.3 Invoking the <CODE>gettext</CODE> program</A>
387 <LI><A NAME="TOC279" HREF="gettext_15.html#SEC279">15.5.2.4 Invoking the <CODE>ngettext</CODE> program</A>
388 <LI><A NAME="TOC280" HREF="gettext_15.html#SEC280">15.5.2.5 Invoking the <CODE>envsubst</CODE> program</A>
389 <LI><A NAME="TOC281" HREF="gettext_15.html#SEC281">15.5.2.6 Invoking the <CODE>eval_gettext</CODE> function</A>
390 <LI><A NAME="TOC282" HREF="gettext_15.html#SEC282">15.5.2.7 Invoking the <CODE>eval_ngettext</CODE> function</A>
391 </UL>
392 <LI><A NAME="TOC283" HREF="gettext_15.html#SEC283">15.5.3 bash - Bourne-Again Shell Script</A>
393 <LI><A NAME="TOC284" HREF="gettext_15.html#SEC284">15.5.4 Python</A>
394 <LI><A NAME="TOC285" HREF="gettext_15.html#SEC285">15.5.5 GNU clisp - Common Lisp</A>
395 <LI><A NAME="TOC286" HREF="gettext_15.html#SEC286">15.5.6 GNU clisp C sources</A>
396 <LI><A NAME="TOC287" HREF="gettext_15.html#SEC287">15.5.7 Emacs Lisp</A>
397 <LI><A NAME="TOC288" HREF="gettext_15.html#SEC288">15.5.8 librep</A>
398 <LI><A NAME="TOC289" HREF="gettext_15.html#SEC289">15.5.9 GNU guile - Scheme</A>
399 <LI><A NAME="TOC290" HREF="gettext_15.html#SEC290">15.5.10 GNU Smalltalk</A>
400 <LI><A NAME="TOC291" HREF="gettext_15.html#SEC291">15.5.11 Java</A>
401 <LI><A NAME="TOC292" HREF="gettext_15.html#SEC292">15.5.12 C#</A>
402 <LI><A NAME="TOC293" HREF="gettext_15.html#SEC293">15.5.13 GNU awk</A>
403 <LI><A NAME="TOC294" HREF="gettext_15.html#SEC294">15.5.14 Pascal - Free Pascal Compiler</A>
404 <LI><A NAME="TOC295" HREF="gettext_15.html#SEC295">15.5.15 wxWidgets library</A>
405 <LI><A NAME="TOC296" HREF="gettext_15.html#SEC296">15.5.16 YCP - YaST2 scripting language</A>
406 <LI><A NAME="TOC297" HREF="gettext_15.html#SEC297">15.5.17 Tcl - Tk's scripting language</A>
407 <LI><A NAME="TOC298" HREF="gettext_15.html#SEC298">15.5.18 Perl</A>
408 <UL>
409 <LI><A NAME="TOC299" HREF="gettext_15.html#SEC299">15.5.18.1 General Problems Parsing Perl Code</A>
410 <LI><A NAME="TOC300" HREF="gettext_15.html#SEC300">15.5.18.2 Which keywords will xgettext look for?</A>
411 <LI><A NAME="TOC301" HREF="gettext_15.html#SEC301">15.5.18.3 How to Extract Hash Keys</A>
412 <LI><A NAME="TOC302" HREF="gettext_15.html#SEC302">15.5.18.4 What are Strings And Quote-like Expressions?</A>
413 <LI><A NAME="TOC303" HREF="gettext_15.html#SEC303">15.5.18.5 Invalid Uses Of String Interpolation</A>
414 <LI><A NAME="TOC304" HREF="gettext_15.html#SEC304">15.5.18.6 Valid Uses Of String Interpolation</A>
415 <LI><A NAME="TOC305" HREF="gettext_15.html#SEC305">15.5.18.7 When To Use Parentheses</A>
416 <LI><A NAME="TOC306" HREF="gettext_15.html#SEC306">15.5.18.8 How To Grok with Long Lines</A>
417 <LI><A NAME="TOC307" HREF="gettext_15.html#SEC307">15.5.18.9 Bugs, Pitfalls, And Things That Do Not Work</A>
418 </UL>
419 <LI><A NAME="TOC308" HREF="gettext_15.html#SEC308">15.5.19 PHP Hypertext Preprocessor</A>
420 <LI><A NAME="TOC309" HREF="gettext_15.html#SEC309">15.5.20 Pike</A>
421 <LI><A NAME="TOC310" HREF="gettext_15.html#SEC310">15.5.21 GNU Compiler Collection sources</A>
422 </UL>
423 <LI><A NAME="TOC311" HREF="gettext_15.html#SEC311">15.6 Internationalizable Data</A>
424 <UL>
425 <LI><A NAME="TOC312" HREF="gettext_15.html#SEC312">15.6.1 POT - Portable Object Template</A>
426 <LI><A NAME="TOC313" HREF="gettext_15.html#SEC313">15.6.2 Resource String Table</A>
427 <LI><A NAME="TOC314" HREF="gettext_15.html#SEC314">15.6.3 Glade - GNOME user interface description</A>
428 </UL>
429 </UL>
430 <LI><A NAME="TOC315" HREF="gettext_16.html#SEC315">16 Concluding Remarks</A>
431 <UL>
432 <LI><A NAME="TOC316" HREF="gettext_16.html#SEC316">16.1 History of GNU <CODE>gettext</CODE></A>
433 <LI><A NAME="TOC317" HREF="gettext_16.html#SEC317">16.2 Related Readings</A>
434 </UL>
435 <LI><A NAME="TOC318" HREF="gettext_17.html#SEC318">A Language Codes</A>
436 <UL>
437 <LI><A NAME="TOC319" HREF="gettext_17.html#SEC319">A.1 Usual Language Codes</A>
438 <LI><A NAME="TOC320" HREF="gettext_17.html#SEC320">A.2 Rare Language Codes</A>
439 </UL>
440 <LI><A NAME="TOC321" HREF="gettext_18.html#SEC321">B Country Codes</A>
441 <LI><A NAME="TOC322" HREF="gettext_19.html#SEC322">C Licenses</A>
442 <UL>
443 <LI><A NAME="TOC323" HREF="gettext_19.html#SEC323">C.1 GNU GENERAL PUBLIC LICENSE</A>
444 <UL>
445 <LI><A NAME="TOC324" HREF="gettext_19.html#SEC324">Preamble</A>
446 <LI><A NAME="TOC325" HREF="gettext_19.html#SEC325">Appendix: How to Apply These Terms to Your New Programs</A>
447 </UL>
448 <LI><A NAME="TOC326" HREF="gettext_19.html#SEC326">C.2 GNU LESSER GENERAL PUBLIC LICENSE</A>
449 <UL>
450 <LI><A NAME="TOC327" HREF="gettext_19.html#SEC327">Preamble</A>
451 <LI><A NAME="TOC328" HREF="gettext_19.html#SEC328">How to Apply These Terms to Your New Libraries</A>
452 </UL>
453 <LI><A NAME="TOC329" HREF="gettext_19.html#SEC329">C.3 GNU Free Documentation License</A>
454 <UL>
455 <LI><A NAME="TOC330" HREF="gettext_19.html#SEC330">ADDENDUM: How to use this License for your documents</A>
456 </UL>
457 </UL>
458 <LI><A NAME="TOC331" HREF="gettext_20.html#SEC331">Program Index</A>
459 <LI><A NAME="TOC332" HREF="gettext_21.html#SEC332">Option Index</A>
460 <LI><A NAME="TOC333" HREF="gettext_22.html#SEC333">Variable Index</A>
461 <LI><A NAME="TOC334" HREF="gettext_23.html#SEC334">PO Mode Index</A>
462 <LI><A NAME="TOC335" HREF="gettext_24.html#SEC335">Autoconf Macro Index</A>
463 <LI><A NAME="TOC336" HREF="gettext_25.html#SEC336">General Index</A>
464 </UL>
465 <P><HR><P>
466 This document was generated on 6 June 2010 using the
467 <A HREF="http://wwwinfo.cern.ch/dis/texi2html/">texi2html</A>
468 translator version 1.52b.</P>
469 </BODY>
470 </HTML>