doctools::msgcat(3tcl)
β¨ NAME β¨
doctools::msgcat β message catalog management for the various document parsers π
(it's a 3tcl manual page, bestie, from the tcllib crew π«Ά)
πΈ SYNOPSIS πΈ
package require Tcl 8.5 9
package require msgcat
package require doctools::msgcat ?0.2?
::doctools::msgcat::init prefix
π DESCRIPTION π
okay so listen. The package doctools::msgcat is a support module that handles the selection of message catalogs for all the document processing packages in the doctools system version 2. That's the whole job, and it does it gorgeously. β¨
but here's the tea: it is an internal package. A regular user (developer) should not be in direct contact with it. it's giving backstage pass, not front row seats. π
If you are such a person, please go read the documentation of either:
doctools::doc,doctools::toc, ordoctools::idx
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. so it's lowkey the middle child holding the whole group chat together π§
π API π
::doctools::msgcat::initprefix β the command locates and loads the message catalogs for all the languages returned bymsgcat::mcpreferences, provided that they could be found. It returns an integer number describing how many packages were found and loaded. π₯
The names of the packages the command will look for have the form "doctools::msgcat::prefix::langcode", with prefix being the argument to the command, and the langcode supplied by the result of msgcat::mcpreferences. iykyk π
π BUGS, IDEAS, FEEDBACK π
This document, and the package it describes, will undoubtedly contain bugs and other problems. no cap. π
Please report such in the category doctools of the Tcllib Trackers at http://core.tcl.tk/tcllib/reportlist. Please also report any ideas for enhancements you may have for either the package and/or the documentation. we want the good ideas too, not just the oopsie ones π«Ά
When proposing code changes, please provide unified diffs, i.e the output of diff -u. periodt.
Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar. the way that whole flow works... iconic. β¨
π KEYWORDS π
catalog package, docidx, doctoc, doctools, i18n, internationalization, l10n, localization, message catalog, message package
π CATEGORY π
Documentation tools
π COPYRIGHT π
Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
k bye bestie, that's the whole page β brought to you by tcllib, version 0.2, and yeah it's literally doctools::msgcat(3tcl). slay, go read the docs, mwah ππ¦πΈ
π¦ where this page comes from
- debian trixie: tcllib 2.0+dfsg-4 Β· Tcl
- ubuntu questing: tcllib 2.0+dfsg-4
- ubuntu resolute: tcllib 2.0+dfsg-5 Β· Tcl
- ubuntu stonking: tcllib 2.0+dfsg-6 Β· Tcl
- Copyright (c) 2009 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms