You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NcldrExplorer choked on http://unicode.org/repos/cldr/trunk/seed/main/bss.xml ( I had copied everything in seed/main/.xml into common/main/ for testing purposes, 'seed' are locales that are not ready for prime time. In any event.. )
bss.xml has only Sun,Mon,Sat localized as days for some reason. However, ncldr ought to fall back to data in root.xml instead of crashing:
`
[External Code]
NCldrExtensions.dll!NCldr.Extensions.NCldrCustomCulture.CreateDateTimeFormatInfo(NCldr.Types.Culture culture) Line 425 + 0x2c bytes C#
NCldrExtensions.dll!NCldr.Extensions.NCldrCustomCulture.CreateNCldrCultureAndRegionInfoBuilder(string cldrCultureName, string dotNetCultureName) Line 112 + 0x11 bytes C#
NCldrExplorer.exe!NCldrExplorer.Form1.CreateCustomCultures(bool register) Line 1009 + 0xb bytes C#
NCldrExplorer.exe!NCldrExplorer.Form1.CreateCustomCulturesCheck(bool register) Line 943 + 0xc bytes C#
NCldrExplorer.exe!NCldrExplorer.Form1.btnRegisterCustomCultures_Click(object sender, System.EventArgs e) Line 906 + 0xd bytes C#
[External Code]
NCldrExplorer.exe!NCldrExplorer.Program.Main(string[] args) Line 19 + 0x20 bytes C#
[External Code]
`
An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional information: Length of the array must be 7. (( not 3 ! )) 'NCldrExplorer.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Note that ICU also has to deal with such things, and ICU as well expects fully populated weekday arrays, for example. So ICU will 'flesh out' such arrays, copying inherited information into the child locale ( so { 'Sɔ̂ndé', 'Mɔ́nde', 'Tue', 'Wed', 'Thu', 'Fri', 'Sátedɛ́' } )
The text was updated successfully, but these errors were encountered:
The JSON bindings http://cldr.unicode.org/development/development-process/design-proposals/json are fully resolved (pre-resolved, if you will). Actually, for that matter, the CLDR java tools can create fully resolved XML, which could then be picked up by NCLDR. If you’re interested in trying it, I can [dig up and] send you the command line to accomplish this.
This specific example (only translating 3 days) is definitely not typical, but it does occur.
NcldrExplorer choked on http://unicode.org/repos/cldr/trunk/seed/main/bss.xml ( I had copied everything in seed/main/.xml into common/main/ for testing purposes, 'seed' are locales that are not ready for prime time. In any event.. )
bss.xml
has only Sun,Mon,Sat localized as days for some reason. However, ncldr ought to fall back to data inroot.xml
instead of crashing:`
[External Code]
dateTimeFormatInfo.AbbreviatedDayNames = gregorianCalendar.AbbreviatedDayNames;
An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional information: Length of the array must be 7. (( not 3 ! )) 'NCldrExplorer.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Note that ICU also has to deal with such things, and ICU as well expects fully populated weekday arrays, for example. So ICU will 'flesh out' such arrays, copying inherited information into the child locale ( so { 'Sɔ̂ndé', 'Mɔ́nde', 'Tue', 'Wed', 'Thu', 'Fri', 'Sátedɛ́' } )
The text was updated successfully, but these errors were encountered: