[Libosinfo] [PATCH] datamap,windows: Map 'en_GB' to 'en-US'

Christophe Fergeau cfergeau at redhat.com
Mon May 12 07:54:58 UTC 2014


On Fri, May 09, 2014 at 01:05:37PM +0100, Zeeshan Ali (Khattak) wrote:
> On Thu, May 8, 2014 at 11:31 PM, Fabiano Fidêncio <fabiano at fidencio.org> wrote:
> > Zeeshan,
> >
> >
> > On Thu, May 8, 2014 at 6:30 PM, Zeeshan Ali (Khattak) <zeeshanak at gnome.org>
> > wrote:
> >>
> >> Since windows installer only supports 'en-US' language[1], specifying
> >> 'en-GB' in installer script breaks unattended installation.
> >
> >
> > Did you try mapping based on
> > http://technet.microsoft.com/library/dd744369(WS.10).aspx, as we talked on
> > IRC?
> > I think a generic solution would be better than this one.
> 
> Yes, that link is even in the commit log. :) I didn't see any other
> locale that needs a different mapping.

The commit log does not tell the full story and could mention that this is not
a complete solution as language cannot be en-GB while locale can be en-GB, and
InputLocale needs to be something different as well:

<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<SetupUILanguage>
		<UILanguage>en-US</UILanguage>
	</SetupUILanguage>
	<InputLocale>0809:00000809</InputLocale>
	<SystemLocale>en-GB</SystemLocale>
	<UILanguage>en-US</UILanguage>
	<UserLocale>en-GB</UserLocale>
</component>

Christophe




More information about the Libosinfo mailing list