1doctools::msgcat(n) Documentation tools doctools::msgcat(n)
2
3
4
5______________________________________________________________________________
6
8 doctools::msgcat - Message catalog management for the various document
9 parsers
10
12 package require Tcl 8.4
13
14 package require msgcat
15
16 package require doctools::msgcat ?0.1?
17
18 ::doctools::msgcat::init prefix
19
20______________________________________________________________________________
21
23 The package doctools::msgcat is a support module handling the selection
24 of message catalogs for the various document processing packages in the
25 doctools system version 2. As such it is an internal package a regular
26 user (developer) should not be in direct contact with.
27
28 If you are such please go the documentation of either
29
30 [1] doctools::doc,
31
32 [2] doctools::toc, or
33
34 [3] doctools::idx
35
36 Within the system architecture this package resides under the various
37 parser packages, and is shared by them. Underneath it, but not explicit
38 dependencies, are the packages providing the message catalogs for the
39 various languages.
40
42 ::doctools::msgcat::init prefix
43 The command locates and loads the message catalogs for all the
44 languages returned by msgcat::mcpreferences, provided that they
45 could be found. It returns an integer number describing how many
46 packages were found and loaded.
47
48 The names of the packages the command will look for have the
49 form "doctools::msgcat::prefix::langcode", with prefix the argu‐
50 ment to the command, and the langcode supplied by the result of
51 msgcat::mcpreferences.
52
54 This document, and the package it describes, will undoubtedly contain
55 bugs and other problems. Please report such in the category doctools
56 of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please
57 also report any ideas for enhancements you may have for either package
58 and/or documentation.
59
60 When proposing code changes, please provide unified diffs, i.e the out‐
61 put of diff -u.
62
63 Note further that attachments are strongly preferred over inlined
64 patches. Attachments can be made by going to the Edit form of the
65 ticket immediately after its creation, and then using the left-most
66 button in the secondary navigation bar.
67
69 catalog package, docidx, doctoc, doctools, i18n, internationalization,
70 l10n, localization, message catalog, message package
71
73 Documentation tools
74
76 Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
77
78
79
80
81tcllib 0.1 doctools::msgcat(n)