On Wed, May 14, 2014 at 03:14:04PM +0100, Zeeshan Ali (Khattak) wrote: > On Wed, May 14, 2014 at 3:06 PM, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote: > > I'm actually confused as to where you got your FR-CA from. Only the > > values listed in data/datamaps/windows-lang.xml are valid, > > Without this patch, you never get 'FR-CA' but rather fr_CA as its not > mapped for lack of a mapping. Actually, see osinfo_media_get_languages() documentation: * If media is an installer, this property indicates the languages that * can be used during automatic installations. I don't think fr_CA is ever returned by that method, so that would make it an invalid value to use as l10n-language. Boxes seems to be trying hard to return a good value from UnattendedInstaller::get_preferred_language(), so I'm not sure how we get to the point where fr_CA gets passed to an unattended install script? One thing I noticed in get_preferred_language() is that it should probably strip ".UTF-8" when trying to match system locale with media languages, but there is still a fallback in place to return one of the media languages if there is no match. Christophe _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo