Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e11febb7ffdaecf7b699559eab33d4ea2fcc58ae
Ticket: 1182109fffffffffffffffffffffffffffffffff
Translate and manage error messages
User & Date: nicolascastagne on 2005-04-13 09:52:42
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Tcl is often used as a scripting language for users in big  
    applications.  
    However, users may not speak english - or, more  
    generally, the language used in the app to communicate  
    with the user may be not english.  
      
    I suggest that Tcl should offer a way to handle error  
    message in a better way, allowing :  
    - at least translation of errors in other languages  
    - better : machine-understandable description (such as  
    error codes), so that the error message may be  
    constructed according to the need, just before sending it to  
    the user.  
      
    For example, we CANNOT provide english error messages  
    in our app. Given the current error management system,  
    this seems to be quite a difficult problem to solve...  
      
    Pointers for solutions :  
    - split of error messages in various parts : static parts (such  
    as "Syntax Error", etc.) and variable parts (which give  
    details on the error, depending of the context : line number,  
    name of the procedure, etc.).  
    This is needed to set up a translation system by using  
    msgcat, for example  
    - generalisation of error codes. In the current version, error  
    codes are not set for all the erros.  
      
    For details :  
    - see news://comp.lang.tcl : quite a large discussion took  
    place on the subject, starting from April, 07, 2005, under  
    the subjects " Managing (translate) errors in a different 
    language " and "Translate error messages" 
    - contact me ! 
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nicolascastagne"
  9. subsystem changed to: "None"
  10. title changed to: "Translate and manage error messages"
  11. type changed to: "RFE"