[Mono-dev] missing cultures

Daniel Nauck dna at informatik.uni-kiel.de
Thu Dec 6 19:13:07 EST 2007


Hello,

have a look at bug:
https://bugzilla.novell.com/show_bug.cgi?id=324483

Daniel

Steve Bjorg schrieb:
> What does it take to add support for other cultures?
> 
> The following code attempts to instantiate each culture in the
> cultures.txt file (attached).
> 
> using System;
> using System.Globalization;
> 
> namespace CultureCheck {
>     class Program {
>         static void Main(string[] args) {
>             if(System.IO.File.Exists("cultures.txt")) {
>                 string[] cultures =
> System.IO.File.ReadAllLines("cultures.txt");
>                 int failed = 0;
>                 int succeeded = 0;
>                 foreach(string culture in cultures) {
>                     try {
>                         CultureInfo info = new CultureInfo(culture.Trim());
>                         string now =
> DateTime.UtcNow.ToString(info.DateTimeFormat);
>                         ++succeeded;
>                     } catch {
>                         ++failed;
>                         Console.WriteLine(culture);
>                     }
>                 }
>                 Console.WriteLine("Tested {0} cultures: {1} succeeded,
> {2} failed", succeeded + failed, succeeded, failed);
>             } else {
>                 Console.Error.WriteLine("MISSING FILE: cultures.txt");
>             }
>         }
>     }
> }
> 
> 
> These cultures currently fail on mono 1.2.5.1:
> az-cyrl-az
> az-latn-az
> dv-mv
> en-bz
> en-029
> en-jm
> en-tt
> fr-mc
> ka-ge
> de-li
> kk-kz
> ky-kg
> ms-bn
> ms-my
> mn-mn
> pa-in
> sa-in
> sr-cyrl-cs
> sr-latn-cs
> syr-sy
> tt-ru
> ur-pk
> uz-cyrl-uz
> uz-latn-uz
> 
> List of codes here: http://wiki.opengarden.org/Deki_Wiki/Languages
> 
> Some of these should be trivial, like
> * English (Belize)
> * English (Caribbean)
> * English (Jamaica)
> * English (Trinidad and Tobago)
> * French (Monaco)
> * German (Liechtenstein)
> 
> For others, I would like to be able to instruct our community, which has
> already translated our application to various languages, on what
> additional information is required to make their respective culture
> available.
> 
> A high-priority culture is Korean.  So, any information on what is
> needed to enable it would be much appreciated. Thanks.
> 
> 
> - Steve
> 
> --------------
> Steve G. Bjorg
> http://wiki.mindtouch.com
> http://wiki.opengarden.org
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list