Skip to content
Tcl Source Code History Of Ticket 3565279
Login

History Of Ticket 3565279

Artifacts Associated With Ticket 3565279

  1. Ticket change [3e0da3c4c6] (rid 121196) by oehhar on 2012-09-06 13:22:49:

    1. assignee initialized to: "oehhar"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "oehhar"
    10. subsystem initialized to: "30. msgcat Package"
    11. title initialized to:
      Dynamic Locale Change for msgcat with on-demand File Load
      
    12. type initialized to: "RFE"
  2. Ticket change [2b265ee4b6] (rid 118685) by oehhar on 2012-09-06 20:22:50:

    1. icomment:
      
      
      File Added - 452684: msgcat.tcl
      
      
      
    2. login: "oehhar"
    3. mimetype: "text/plain"
    4. username: "oehhar"
  3. Add attachment "msgcat.tcl" [ba951bad14] (rid 129345) by oehhar on 2012-09-06 20:22:50.

  4. Ticket change [0af635b889] (rid 113912) by oehhar on 2012-09-06 20:24:06:

    1. icomment:
      
      
      File Added - 452685: 399BIS_tip.txt
      
      
      
    2. login: "oehhar"
    3. mimetype: "text/plain"
    4. username: "oehhar"
  5. Add attachment "399BIS_tip.txt" [859c15c408] (rid 131343) by oehhar on 2012-09-06 20:24:06.

  6. Ticket change [299d19f11d] (rid 143613) by oehhar on 2015-10-21 16:38:13:

    1. closedate changed to: "2457317.1932072"
    2. closer changed to: "oehhar"
    3. 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
      
    4. icomment:
      Accepted as TIP 412.
      Implemented in branch [msgcat_dyn_locale] and merged to trunk with [392ff6199d].
      
    5. login: "oehhar"
    6. mimetype: "text/x-fossil-wiki"
    7. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
    8. resolution changed to: "Accepted"
    9. severity changed to: "Minor"
    10. status changed to: "Closed"
    11. username: "oehhar"