[Mono-devel-list] CultureInfo

Miguel de Icaza miguel at ximian.com
Thu Mar 6 17:18:33 EST 2003


Hello!

> After talking to Miguel & Gonzalo on irc, I've started to look in detail
> at System.Globalization.CultureInfo.
> 
> I've written some dumping code that outputs things like names, ISO codes
> and calendar type for each 'culture'. I've verified that it works with
> the Microsoft runtime and not mono, (for obvious reasons).
> 
> The nicest way to implement some properties on CultureInfo like
> EnglishName and DisplayName (the latter should appear in a local
> language), seems to be with text resource files that get compiled into
> corlib at build time.
> 
> I'm a bit of a .NET newbie, but it looks like to do this, we'll need a
> 'resgen' tool. Does mono have one of these and/or is there a workaround
> for translatable string tables?

yes, we do have a resgen tool available.  It lives in mcs/monoresgen

Miguel



More information about the Mono-devel-list mailing list