Skip to content
Tcl Source Code History Of Ticket 525522ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 525522ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 525522ffffffffffffffffffffffffffffffffff

  1. Ticket change [4f2873c094] (rid 125774) by haible on 2002-03-04 14:30:38:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The Tcl msgcat facility doesn't respect POSIX, by
      looking only at LANG
      and ignoring LC_MESSAGES and LC_ALL. Everywhere in
      POSIX, LC_ALL
      overrides LANG when set. But tcl ignores it. Thus, i18n
      for Tcl
      programs doesn't print messages in the same language as
      other
      applications do, if the user has set only LC_ALL and/or
      LC_MESSAGES
      but not LANG.
      
      Description of LANG, LC_MESSAGES, LC_ALL:
      
      LANG
      
      This variable shall determine the locale category for
      native language,
      local customs, and coded character set in the absence
      of the LC_ALL
      and other LC_* ( LC_COLLATE , LC_CTYPE , LC_MESSAGES ,
      LC_MONETARY ,
      LC_NUMERIC , LC_TIME ) environment variables. This can
      be used by
      applications to determine the language to use for error
      messages and
      instructions, collating sequences, date formats, and so
      on.
      
      LC_MESSAGES
      
      This variable shall determine the locale category for
      processing
      affirmative and negative responses and the language and
      cultural
      conventions in which messages should be written.
      Additional semantics
      of this variable, if any, are implementation-defined.
      The language and
      cultural conventions of diagnostic and informative
      messages whose
      format is unspecified by IEEE Std 1003.1-2001 should be
      affected by
      the setting of LC_MESSAGES .
      
      LC_ALL
      
      This variable shall determine the values for all locale
      categories. The value of the LC_ALL environment
      variable has
      precedence over any of the other environment variables
      starting with
      LC_ ( LC_COLLATE , LC_CTYPE , LC_MESSAGES , LC_MONETARY
      , LC_NUMERIC ,
      LC_TIME ) and the LANG environment variable.
      
      Furthermore please note that in this context, an
      environment variable
      whose value is empty is treated like if it were unset.
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "haible"
    9. subsystem initialized to: "30. msgcat Package"
    10. title initialized to: "Tcl msgcat ignores LC_ALL"
    11. type initialized to: "Bug"
  2. Ticket change [e23538e48e] (rid 87582) by dgp on 2002-04-17 02:29:01:

    1. assignee changed to: "dgp"
  3. Ticket change [18619f2a0e] (rid 122648) by hobbs on 2002-04-17 02:51:44:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      Against what version of Tcl, built on what platform is this 
      complaint?  The latest Tcl uses nl_langinfo - *where 
      available* - to determine language info.  I think that 
      handles this (but I'm not an l10n expert).
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  4. Ticket change [17f6a592a3] (rid 122587) by haible on 2002-04-17 22:17:05:

    1. icomment:
      Logged In: YES 
      user_id=5923
      
      I was referring to tclx 8.3, coupled with tcl 8.3.3, running
      on
      SuSE Linux, as packaged in
      ftp://ftp.suse.com/pub/suse/i386/7.3/full-names/i386/tclx-8.3-136.i386.rpm
      
      The code which looks at LANG but not LC_ALL etc. was in the
      msgcat module, part of tclx.
      
      
    2. login: "haible"
    3. mimetype: "text/plain"
    4. username: "haible"
  5. Ticket change [bb5887aa77] (rid 129469) by dgp on 2002-04-18 06:20:47:

    1. assignee changed to: "hobbs"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      so this is really a TclX bug, not Tcl, nor msgcat package.
      
      Assigning to Jeff for disposal.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. resolution changed to: "Invalid"
    6. subsystem changed to: "None"
    7. username: "dgp"
  6. Ticket change [b9193848a7] (rid 129073) by dgp on 2002-06-08 06:20:27:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Can we get a clarification on this report?
      Is it about the msgcat package that comes
      with Tcl?
      
      Or is it about [catopen], [catgets], [catclose]
      commands provided by TclX as its "msgcat" facility?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [d4073141c1] (rid 123375) by haible on 2002-06-15 03:45:37:

    1. icomment:
      Logged In: YES 
      user_id=5923
      
      The report was about the msgcat.tcl package.
      
      The patch for bug [ 525525 ] should solve this issue as
      well, because
      it correctly tests for empty environment variables:
      
          foreach varName {LC_ALL LC_MESSAGES LANG} {
      if {[info exists ::env($varName)] 
      && ![string equal "" $::env($varName)]} {
                  mclocale [ConvertLocale $::env($varName)]
          return
      }
          }
      
      
      
    2. login: "haible"
    3. mimetype: "text/plain"
    4. username: "haible"
  8. Ticket change [b9421bb745] (rid 129108) by dgp on 2002-06-15 06:16:55:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2002-06-14T23:16:55"
    3. closer changed to: "dgp"
    4. foundin changed to: "obsolete: 8.4a5"
    5. icomment:
      Logged In: YES 
      user_id=80530
      
      good, then I'm closing this as a duplicate of 525525
      
      
    6. login: "dgp"
    7. mimetype: "text/plain"
    8. resolution changed to: "Duplicate"
    9. status changed to: "Closed"
    10. subsystem changed to: "30. msgcat Package"
    11. username: "dgp"