Artifacts Associated With Ticket 3565279fffffffffffffffffffffffffffffffff
Ticket change [3e0da3c4c6] (rid 121196) by oehhar on 2012-09-06 13:22:49:
- assignee initialized to: "oehhar"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Feature request 3511941 / TIP#399 "Add msgcat dynamic languages ability" were not able to reload any registered message files. Using this version, message files are loaded if required by a locale change: % msgcat::mclocale en en % namespace eval p1 { msgcat::mcload msgs } ... will load message files en.msg and ROOT.msg from folder msgs ... % msgcat::mclocale fr ...will load fr.msg from folder msgs and locale will be available A package may inform itself about locale change: % namespace eval p1 {msgcat::mcpackageconfig changecmd updateGUI} % msgcat::mclocale de ...will load de.msg from folder msgs and locale will be available ...will invoke "::pi::updateGUI de {}" The attached file is the first implementation. It contains tip404. Also attached is a prepared tip for review. Thank you all, Harald - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "oehhar"
- subsystem initialized to: "30. msgcat Package"
- title initialized to:
Dynamic Locale Change for msgcat with on-demand File Load
- type initialized to: "RFE"
Ticket change [2b265ee4b6] (rid 118685) by oehhar on 2012-09-06 20:22:50:
- icomment:
File Added - 452684: msgcat.tcl
- login: "oehhar"
- mimetype: "text/plain"
- username: "oehhar"
- icomment:
Add attachment "msgcat.tcl" [ba951bad14] (rid 129345) by oehhar on 2012-09-06 20:22:50.
Ticket change [0af635b889] (rid 113912) by oehhar on 2012-09-06 20:24:06:
- icomment:
File Added - 452685: 399BIS_tip.txt
- login: "oehhar"
- mimetype: "text/plain"
- username: "oehhar"
- icomment:
Add attachment "399BIS_tip.txt" [859c15c408] (rid 131343) by oehhar on 2012-09-06 20:24:06.
Ticket change [299d19f11d] (rid 143613) by oehhar on 2015-10-21 16:38:13:
- closedate changed to: "2457317.1932072"
- closer changed to: "oehhar"
- comment changed to:
Feature request 3511941 / TIP#399 "Add msgcat dynamic languages ability" were not able to reload any registered message files. Using this version, message files are loaded if required by a locale change: % msgcat::mclocale en en % namespace eval p1 { msgcat::mcload msgs } ... will load message files en.msg and ROOT.msg from folder msgs ... % msgcat::mclocale fr ...will load fr.msg from folder msgs and locale will be available A package may inform itself about locale change: % namespace eval p1 {msgcat::mcpackageconfig changecmd updateGUI} % msgcat::mclocale de ...will load de.msg from folder msgs and locale will be available ...will invoke "::pi::updateGUI de {}" The attached file is the first implementation. It contains tip404. Also attached is a prepared tip for review. Thank you all, Harald - icomment:
Accepted as TIP 412. Implemented in branch [msgcat_dyn_locale] and merged to trunk with [392ff6199d].
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
- resolution changed to: "Accepted"
- severity changed to: "Minor"
- status changed to: "Closed"
- username: "oehhar"