Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 955e19a5891db0924e7885bd232ae163feb25bc8
Ticket: 525525ffffffffffffffffffffffffffffffffff
wrong file list in msgcat::mclocale
User & Date: dgp on 2002-04-20 06:01:20
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    I don't plan to go that far.  The [::msgcat::mclocale]
    command is documented to accept an argument that is
    a list of strings joined by "_".  I don't plan to
    extend that.
    
    So, the only thing that needs fixing is the way msgcat
    uses the environment variable values to derive an argument
    to pass to [mclocale].  A [split] on "." and passing only
    the first element of the resulting list should take care
    of that.
    
    The message catalogs of interest are those packaged with
    Tcl packages and applications.  All of them are of the
    form foo_bar_baz.msg .  I don't see a compelling reason
    to extend that further.  The message catalog files
    themselves are always read in the UTF-8 encoding, and then
    evaluated as Tcl scripts.  The documentation of msgcat
    should probably be improved to make that clear.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"