[asterisk-bugs] [Asterisk 0015346]: TW is not an ISO Language Code

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 17 18:44:22 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15346 
====================================================================== 
Reported By:                volivier
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15346
Category:                   Core/Internationalization
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-17 16:49 CDT
Last Modified:              2009-06-17 18:44 CDT
====================================================================== 
Summary:                    TW is not an ISO Language Code
Description: 
Tawanese actually is standard mandarin chinese that is categorized as
"zh-tw" or simply "zh" and NEVER "tw". Should simply be "zh" in Asterisk
because Asterisk is not concerned with the actual script of a locale (the
way it is written).

The reason why setting taiwanese as "tw" is a problem, is because it
fragments the efforts to localize in the standard mandarin chinese language
(which is coded as "zh") and is a bad internationalization practice
altogether.
====================================================================== 

---------------------------------------------------------------------- 
 (0106587) volivier (reporter) - 2009-06-17 18:44
 https://issues.asterisk.org/view.php?id=15346#c106587 
---------------------------------------------------------------------- 
The list you provided is for countries, not languages. ISO 3166 is a
standard for country codes.

ISO 639, a completely unrelated standard, is for language codes. See here
: http://www.loc.gov/standards/iso639-2/php/code_list.php

And as you can see, the language code "tw" is for Twi, not Taiwanese. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-17 18:44 volivier       Note Added: 0106587                          
======================================================================




More information about the asterisk-bugs mailing list