Artifacts Associated With Ticket 737813ffffffffffffffffffffffffffffffffff
Ticket change [f2c286e4cc] (rid 109609) by lvirden on 2003-05-14 18:41:18:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
It would be useful to be able to query the current message catalog cache to see what languages were known to mclocale. Sicne they are read in, it doesn't seem like it would be difficult to have a command which returned the list of what was cached. If the cache is rebuilt via mcload, then it would be expected that the new command would return updated information.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lvirden"
- subsystem initialized to: "30. msgcat Package"
- title initialized to: "introspection of locales"
- type initialized to: "RFE"
Ticket change [2dad90fbf9] (rid 119102) by dgp on 2003-05-15 22:06:28:
- icomment:
Logged In: YES user_id=80530 this request needs some clarification. What is it you're looking for? What locales have loaded entries? Or what msg catalog files exist on disk that could be loaded? For what module? Keep in mind that each unit of code (for example, each package) provides its own msg catalogs.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [50b6718850] (rid 126018) by lvirden on 2003-05-15 22:38:49:
- icomment:
Logged In: YES user_id=15949 Re: clarification The context is a structure within which one can determine what languages are supported by a particular command or commands. So some way that, for a particular unit of code, that at runtime one could determine the catalogs available, would be the goal.
- login: "lvirden"
- mimetype: "text/plain"
- username: "lvirden"
- icomment:
Ticket change [e5afe6abd9] (rid 104167) by dgp on 2003-05-15 22:44:11:
- icomment:
Logged In: YES user_id=80530 Well, if you need information about "a command or commands" it should be the package that provided those commands that offers it. Is there an additional primitive that msgcat needs to provide for other packages to implement such a thing? Still ambiguous is "available". Much like [package names] or [info commands], the set of catalogs that are "available" might not be knowable without accessing the file system. Do you need to know what's currently loaded, or what could work?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [bd007b9fec] (rid 101838) by lvirden on 2003-05-15 22:46:46:
- icomment:
Logged In: YES user_id=15949 I believe that knowing what is currently loaded would be sufficient.
- login: "lvirden"
- mimetype: "text/plain"
- username: "lvirden"
- icomment:
Ticket change [ba5f20f68c] (rid 129312) by dgp on 2003-05-15 22:50:26:
- icomment:
Logged In: YES user_id=80530 OK, then, each package just needs to keep a list of what the [mclocale] was for each time it called [mcload], and report that list on request. I don't see any need for new msgcat commands to make that possible.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [99db9f74e3] (rid 110860) by lvirden on 2003-05-15 23:21:10:
- icomment:
Logged In: YES user_id=15949 So, for instance, in Tk, a new command would return to the developer a list of for instance cs.msg el.msg en_gb.msg fr.msg nl.msg de.msg en.msg es.msg it.msg ru.msg and then the developer would need to figure out how to map these names into the languages that they represent. Should the package also provide a table mapping the names to languages?
- login: "lvirden"
- mimetype: "text/plain"
- username: "lvirden"
- icomment:
Ticket change [5be620236a] (rid 118410) by dgp on 2004-12-10 00:57:02:
- assignee changed to: "nobody"
- icomment:
Logged In: YES user_id=80530 This has evolved into a request for Tk.
- login: "dgp"
- mimetype: "text/plain"
- subsystem changed to: "None"
- username: "dgp"
Ticket change [ad53ae6379] (rid 101452) by dkf on 2006-06-30 15:21:52:
- assignee changed to: "dgp"
- resolution changed to: "Remind"
Ticket change [86411d80cf] (rid 131471) by dgp on 2006-07-01 03:04:41:
- icomment:
Logged In: YES user_id=80530 Again, this has become a request for Tk, and should be refiled there.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c1b00bcc04] (rid 111364) by dgp on 2006-07-01 03:04:42:
- closedate changed to: "2006-06-30T20:04:42"
- closer changed to: "dgp"
- resolution changed to: "Invalid"
- status changed to: "Closed"