On Fri, 2008-03-21 at 14:42 +1100, Brad Hards wrote: > Small Business Server 2003 SP2 (which is basically exchange 2003 SP2, if I > understand it correctly) > wants to speak french to me. That is unfortunate, because I'm monolingual. > > I've added an option to mapiprofile to allow you to specify the language code > to use, instead of > always defaulting to 0x40C (which is fr-FR). We now default to en-US, and you > use the --langcode > option to specify something else.
The patch sounds good to me. However, maybe can we improve the option and parse the lcid argument so it either takes an hexadecimal value or a language name (string). IIRC libmapi/util/locale.c relies on values from Windows Language Code Identifier (LCID) Reference. If input argument is not hexadecimal, then check for locale_struct locales[] locale_str and if partial match (strncasecmp using input string length) is found, then return the associated lcid. > Patch is attached. Please apply. Please do apply yourself once you've seen with ali for svn credentials ;-) Cheers, Julien. -- Julien Kerihuel [EMAIL PROTECTED] OpenChange Project Manager GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
