File: tcllib_msgcat.man

package info (click to toggle)
tcllib 2.0%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 83,560 kB
  • sloc: tcl: 306,798; ansic: 14,272; sh: 3,035; xml: 1,766; yacc: 1,157; pascal: 881; makefile: 124; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (67 lines) | stat: -rw-r--r-- 2,000 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[comment {-*- tcl -*- doctools manpage}]
[manpage_begin doctools::msgcat n 0.2]
[keywords {catalog package}]
[keywords docidx]
[keywords doctoc]
[keywords doctools]
[keywords i18n]
[keywords internationalization]
[keywords l10n]
[keywords localization]
[keywords {message catalog}]
[keywords {message package}]
[copyright {2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>}]
[moddesc   {Documentation tools}]
[titledesc {Message catalog management for the various document parsers}]
[category  {Documentation tools}]
[require Tcl "8.5 9"]
[require msgcat]
[require doctools::msgcat [opt 0.2]]
[description]

The package [package doctools::msgcat] is a support module handling
the selection of message catalogs for the various document processing
packages in the doctools system version 2. As such it is an internal
package a regular user (developer) should not be in direct contact
with.

[para]

If you are such please go the documentation of either

[list_begin enumerated]
[enum] [package doctools::doc],
[enum] [package doctools::toc], or
[enum] [package doctools::idx]
[list_end]

[para]

Within the system architecture this package resides under the various
parser packages, and is shared by them. Underneath it, but not
explicit dependencies, are the packages providing the message catalogs
for the various languages.

[section API]

[list_begin definitions]

[call [cmd ::doctools::msgcat::init] [arg prefix]]

The command locates and loads the message catalogs for all the
languages returned by [cmd msgcat::mcpreferences], provided that they
could be found. It returns an integer number describing how many
packages were found and loaded.

[para]

The names of the packages the command will look for have the form
"doctools::msgcat::[arg prefix]::[var langcode]", with [arg prefix]
the argument to the command, and the [var langcode] supplied by the
result of [cmd msgcat::mcpreferences].

[list_end]

[vset CATEGORY doctools]
[include ../common-text/feedback.inc]
[manpage_end]