Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dff1bf9d723a369f0b0aca747e3b410c0483c3e9
Ticket: 3536888fffffffffffffffffffffffffffffffff
Locale guessing of msgcat fails on (some) Windows 7
User & Date: oehhar on 2012-06-29 22:53:17
Changes

  1. icomment:
    As the manual page of msgcat is quite explicit about windows extraction, we may extend the paragraph to the new circumstances:
    
    Current contents:
    On Windows, if none of those environment variables is set, msgcat will attempt to extract locale information from the registry.
    
    Proposed contents:
    On Windows, if none of those environment variables is set, msgcat will attempt to extract locale information from the registry. From Windows Vista on, the RFC4747 locale name "lang-script-country-options" is transformed to the locale as "lang_country_script"  (Example: sr-Latn-CS -> sr_cs_latin). For Windows XP, the language id is transformed analoguously (Example: 0c1a -> sr_yu_cyrillic).
    
    
    
  2. login: "oehhar"
  3. mimetype: "text/plain"
  4. username: "oehhar"