Changeset c6cb3aa for chapter06/gettext.xml
- Timestamp:
- 05/17/2004 09:55:01 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 6f461cb
- Parents:
- 01b2724c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gettext.xml
r01b2724c rc6cb3aa 50 50 51 51 52 <sect2 id="contents-gettext"><title>Contents of Gettext</title> 53 54 <para><emphasis>Installed programs</emphasis>: autopoint, config.charset, 55 config.rpath, envsubst, gettext, gettextize, hostname, msgattrib, msgcat, 56 msgcmp, msgcomm, msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, 57 msgmerge, msgunfmt, msguniq, ngettext, project-id, team-address, trigger, 58 urlget, user-email and xgettext</para> 59 60 <para><emphasis>Installed libraries</emphasis>: libasprintf[a,so], 61 libgettextlib[a,so], libgettextpo[a,so] and libgettextsrc[a,so]</para> 62 63 </sect2> 64 65 <sect2><title>Short descriptions</title> 66 52 <sect2 id="contents-gettext" role="content"><title>Contents of Gettext</title> 53 54 <segmentedlist> 55 <segtitle>Installed programs</segtitle> 56 <segtitle>Installed libraries</segtitle> 57 <seglistitem><seg>autopoint, config.charset, config.rpath, envsubst, gettext, 58 gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, 59 msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, 60 ngettext, project-id, team-address, trigger, urlget, user-email and xgettext</seg> 61 <seg>libasprintf[a,so], libgettextlib[a,so], libgettextpo[a,so] and libgettextsrc[a,so]</seg></seglistitem> 62 </segmentedlist> 63 64 <variablelist><title>Short descriptions</title> 65 66 <varlistentry> 67 <term id="autopoint"><command>autopoint</command></term> 68 <listitem> 67 69 <indexterm zone="ch-system-gettext autopoint"><primary sortas="b-autopoint">autopoint</primary></indexterm> 68 <para id="autopoint"><command>autopoint</command> copies standard gettext infrastructure 69 files into a source package.</para> 70 70 <para>copies standard gettext infrastructure files into a source package.</para> 71 </listitem> 72 </varlistentry> 73 74 <varlistentry> 75 <term id="config.charset"><command>config.charset</command></term> 76 <listitem> 71 77 <indexterm zone="ch-system-gettext config.charset"><primary sortas="b-config.charset">config.charset</primary></indexterm> 72 <para id="config.charset"><command>config.charset</command> outputs a system-dependent table of 73 character encoding aliases.</para> 74 78 <para>outputs a system-dependent table of character encoding aliases.</para> 79 </listitem> 80 </varlistentry> 81 82 <varlistentry> 83 <term id="config.rpath"><command>config.rpath</command></term> 84 <listitem> 75 85 <indexterm zone="ch-system-gettext config.rpath"><primary sortas="b-config.rpath">config.rpath</primary></indexterm> 76 <para id="config.rpath"><command>config.rpath</command> outputs a system-dependent set of 77 variables, describing how to set the runtime search path of shared libraries in an 78 executable.</para> 79 86 <para>outputs a system-dependent set of variables, describing how to set the 87 runtime search path of shared libraries in an executable.</para> 88 </listitem> 89 </varlistentry> 90 91 <varlistentry> 92 <term id="envsubst"><command>envsubst</command></term> 93 <listitem> 80 94 <indexterm zone="ch-system-gettext envsubst"><primary sortas="b-envsubst">envsubst</primary></indexterm> 81 <para id="envsubst"><command>envsubst</command> substitutes environment variables in shell 82 format strings.</para> 83 95 <para>substitutes environment variables in shell format strings.</para> 96 </listitem> 97 </varlistentry> 98 99 <varlistentry> 100 <term id="gettext"><command>gettext</command></term> 101 <listitem> 84 102 <indexterm zone="ch-system-gettext gettext"><primary sortas="b-gettext">gettext</primary></indexterm> 85 <para id="gettext"><command>gettext</command>translates a natural language message into103 <para>translates a natural language message into 86 104 the user's language, by looking up the translation in a message catalog.</para> 87 105 </listitem> 106 </varlistentry> 107 108 <varlistentry> 109 <term id="gettextize"><command>gettextize</command></term> 110 <listitem> 88 111 <indexterm zone="ch-system-gettext gettextize"><primary sortas="b-gettextize">gettextize</primary></indexterm> 89 <para id="gettextize"><command>gettextize</command>copies all standard Gettext files into112 <para>copies all standard Gettext files into 90 113 the given top-level directory of a package, to begin inter-nationalizing it.</para> 91 114 </listitem> 115 </varlistentry> 116 117 <varlistentry> 118 <term id="hostname-gettext"><command>hostname</command></term> 119 <listitem> 92 120 <indexterm zone="ch-system-gettext hostname-gettext"><primary sortas="b-hostname-gettext">hostname</primary></indexterm> 93 <para id="hostname-gettext"><command>hostname</command> displays a network hostname in various 94 forms.</para> 95 121 <para>displays a network hostname in various forms.</para> 122 </listitem> 123 </varlistentry> 124 125 <varlistentry> 126 <term id="msgattrib"><command>msgattrib</command></term> 127 <listitem> 96 128 <indexterm zone="ch-system-gettext msgattrib"><primary sortas="b-msgattrib">msgattrib</primary></indexterm> 97 <para id="msgattrib"><command>msgattrib</command>filters the messages of a translation129 <para>filters the messages of a translation 98 130 catalog according to their attributes and manipulates the attributes.</para> 99 131 </listitem> 132 </varlistentry> 133 134 <varlistentry> 135 <term id="msgcat"><command>msgcat</command></term> 136 <listitem> 100 137 <indexterm zone="ch-system-gettext msgcat"><primary sortas="b-msgcat">msgcat</primary></indexterm> 101 <para id="msgcat"><command>msgcat</command> concatenates and merges the given 102 <filename>.po</filename> files.</para> 103 138 <para>concatenates and merges the given <filename>.po</filename> files.</para> 139 </listitem> 140 </varlistentry> 141 142 <varlistentry> 143 <term id="msgcmp"><command>msgcmp</command></term> 144 <listitem> 104 145 <indexterm zone="ch-system-gettext msgcmp"><primary sortas="b-msgcmp">msgcmp</primary></indexterm> 105 <para id="msgcmp"><command>msgcmp</command>compares two <filename>.po</filename>146 <para>compares two <filename>.po</filename> 106 147 files to check that both contain the same set of msgid strings.</para> 107 148 </listitem> 149 </varlistentry> 150 151 <varlistentry> 152 <term id="msgcomm"><command>msgcomm</command></term> 153 <listitem> 108 154 <indexterm zone="ch-system-gettext msgcomm"><primary sortas="b-msgcomm">msgcomm</primary></indexterm> 109 <para id="msgcomm"><command>msgcomm</command>finds the messages that are common to155 <para>finds the messages that are common to 110 156 to the given <filename>.po</filename> files.</para> 111 157 </listitem> 158 </varlistentry> 159 160 <varlistentry> 161 <term id="msgconv"><command>msgconv</command></term> 162 <listitem> 112 163 <indexterm zone="ch-system-gettext msgconv"><primary sortas="b-msgconv">msgconv</primary></indexterm> 113 <para id="msgconv"><command>msgconv</command> converts a translation catalog to a 114 different character encoding.</para> 115 164 <para>converts a translation catalog to a different character encoding.</para> 165 </listitem> 166 </varlistentry> 167 168 <varlistentry> 169 <term id="msgen"><command>msgen</command></term> 170 <listitem> 116 171 <indexterm zone="ch-system-gettext msgen"><primary sortas="b-msgen">msgen</primary></indexterm> 117 <para id="msgen"><command>msgen</command> creates an English translation catalog.</para> 118 172 <para>creates an English translation catalog.</para> 173 </listitem> 174 </varlistentry> 175 176 <varlistentry> 177 <term id="msgexec"><command>msgexec</command></term> 178 <listitem> 119 179 <indexterm zone="ch-system-gettext msgexec"><primary sortas="b-msgexec">msgexec</primary></indexterm> 120 <para id="msgexec"><command>msgexec</command> applies a command to all translations of a 121 translation catalog.</para> 122 180 <para>applies a command to all translations of a translation catalog.</para> 181 </listitem> 182 </varlistentry> 183 184 <varlistentry> 185 <term id="msgfilter"><command>msgfilter</command></term> 186 <listitem> 123 187 <indexterm zone="ch-system-gettext msgfilter"><primary sortas="b-msgfilter">msgfilter</primary></indexterm> 124 <para id="msgfilter"><command>msgfilter</command> applies a filter to all translations of a 125 translation catalog.</para> 126 188 <para>applies a filter to all translations of a translation catalog.</para> 189 </listitem> 190 </varlistentry> 191 192 <varlistentry> 193 <term id="msgfmt"><command>msgfmt</command></term> 194 <listitem> 127 195 <indexterm zone="ch-system-gettext msgfmt"><primary sortas="b-msgfmt">msgfmt</primary></indexterm> 128 <para id="msgfmt"><command>msgfmt</command> generates a binary message catalog from 129 from a translation catalog.</para> 130 196 <para>generates a binary message catalog from from a translation catalog.</para> 197 </listitem> 198 </varlistentry> 199 200 <varlistentry> 201 <term id="msggrep"><command>msggrep</command></term> 202 <listitem> 131 203 <indexterm zone="ch-system-gettext msggrep"><primary sortas="b-msggrep">msggrep</primary></indexterm> 132 <para id="msggrep"><command>msggrep</command>extracts all messages of a translation204 <para>extracts all messages of a translation 133 205 catalog that match a given pattern or belong to some given source files.</para> 134 206 </listitem> 207 </varlistentry> 208 209 <varlistentry> 210 <term id="msginit"><command>msginit</command></term> 211 <listitem> 135 212 <indexterm zone="ch-system-gettext msginit"><primary sortas="b-msginit">msginit</primary></indexterm> 136 <para id="msginit"><command>msginit</command> creates a new <filename>.po</filename> 137 file, initializing the meta information with values from the user's 138 environment.</para> 139 213 <para>creates a new <filename>.po</filename> file, initializing the meta 214 information with values from the user's environment.</para> 215 </listitem> 216 </varlistentry> 217 218 <varlistentry> 219 <term id="msgmerge"><command>msgmerge</command></term> 220 <listitem> 140 221 <indexterm zone="ch-system-gettext msgmerge"><primary sortas="b-msgmerge">msgmerge</primary></indexterm> 141 <para id="msgmerge"><command>msgmerge</command> combines two raw translations into a 142 single file.</para> 143 222 <para>combines two raw translations into a single file.</para> 223 </listitem> 224 </varlistentry> 225 226 <varlistentry> 227 <term id="msgunfmt"><command>msgunfmt</command></term> 228 <listitem> 144 229 <indexterm zone="ch-system-gettext msgunfmt"><primary sortas="b-msgunfmt">msgunfmt</primary></indexterm> 145 <para id="msgunfmt"><command>msgunfmt</command> decompiles a binary message catalog 146 into raw translation text.</para> 147 230 <para>decompiles a binary message catalog into raw translation text.</para> 231 </listitem> 232 </varlistentry> 233 234 <varlistentry> 235 <term id="msguniq"><command>msguniq</command></term> 236 <listitem> 148 237 <indexterm zone="ch-system-gettext msguniq"><primary sortas="b-msguniq">msguniq</primary></indexterm> 149 <para id="msguniq"><command>msguniq</command> unifies duplicate translations in a 150 translation catalog.</para> 151 238 <para>unifies duplicate translations in a translation catalog.</para> 239 </listitem> 240 </varlistentry> 241 242 <varlistentry> 243 <term id="ngettext"><command>ngettext</command></term> 244 <listitem> 152 245 <indexterm zone="ch-system-gettext ngettext"><primary sortas="b-ngettext">ngettext</primary></indexterm> 153 <para id="ngettext"><command>ngettext</command>displays native language translations of a246 <para>displays native language translations of a 154 247 textual message whose grammatical form depends on a number.</para> 155 248 </listitem> 249 </varlistentry> 250 251 <varlistentry> 252 <term id="xgettext"><command>xgettext</command></term> 253 <listitem> 156 254 <indexterm zone="ch-system-gettext xgettext"><primary sortas="b-xgettext">xgettext</primary></indexterm> 157 <para id="xgettext"><command>xgettext</command>extracts the translatable message lines255 <para>extracts the translatable message lines 158 256 from the given source files, to make the first translation template.</para> 159 257 </listitem> 258 </varlistentry> 259 260 <varlistentry> 261 <term id="libasprintf"><command>libasprintf</command></term> 262 <listitem> 160 263 <indexterm zone="ch-system-gettext libasprintf"><primary sortas="c-libasprintf">libasprintf</primary></indexterm> 161 <para id="libasprintf"><command>libasprintf</command>defines the autosprintf class, which264 <para>defines the autosprintf class, which 162 265 makes C formatted output routines usable in C++ programs, for use with the 163 266 <string> strings and the <iostream> streams.</para> 164 267 </listitem> 268 </varlistentry> 269 270 <varlistentry> 271 <term id="libgettextlib"><command>libgettextlib</command></term> 272 <listitem> 165 273 <indexterm zone="ch-system-gettext libgettextlib"><primary sortas="c-libgettextlib">libgettextlib</primary></indexterm> 166 <para id="libgettextlib"><command>libgettextlib</command> is a private library containing 167 common routines used by the various gettext programs. They're not meant for 168 general use.</para> 169 274 <para>is a private library containing common routines used by the various gettext 275 programs. They're not meant for general use.</para> 276 </listitem> 277 </varlistentry> 278 279 <varlistentry> 280 <term id="libgettextpo"><command>libgettextpo</command></term> 281 <listitem> 170 282 <indexterm zone="ch-system-gettext libgettextpo"><primary sortas="c-libgettextpo">libgettextpo</primary></indexterm> 171 <para id="libgettextpo"><command>libgettextpo</command> is used to write specialized 172 programs that process PO files. This library is used when the standard 173 applications shipped with gettext won't suffice (such as msgcomm, msgcmp, 174 msgattrib and msgen).</para> 175 283 <para>is used to write specialized programs that process PO files. This library is 284 used when the standard applications shipped with gettext won't suffice (such as 285 msgcomm, msgcmp, msgattrib and msgen).</para> 286 </listitem> 287 </varlistentry> 288 289 <varlistentry> 290 <term id="libgettextsrc"><command>libgettextsrc</command></term> 291 <listitem> 176 292 <indexterm zone="ch-system-gettext libgettextsrc"><primary sortas="c-libgettextsrc">libgettextsrc</primary></indexterm> 177 <para id="libgettextsrc"><command>libgettextsrc</command> is a private library containing 178 common routines used by the various gettext programs. They're not meant for 179 general use.</para> 293 <para>is a private library containing common routines used by the various gettext 294 programs. They're not meant for general use.</para> 295 </listitem> 296 </varlistentry> 297 </variablelist> 180 298 181 299 </sect2> 182 300 183 184 185 301 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.