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

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Mon May 12 15:14:55 UTC 2014


On Mon, May 12, 2014 at 4:09 PM, Zeeshan Ali (Khattak)
<zeeshanak at gnome.org> wrote:
> On Mon, May 12, 2014 at 8:54 AM, Christophe Fergeau <cfergeau at redhat.com> wrote:
>> 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
>
> Sure, I'll update the log.

Thinking more about this, since its only the *UILanguage that needs
this mapping and en-GB should be set for others, I wonder if my patch
is a good solution at all. Maybe we can just do a simple template for
*UILanguage that does the mapping?

>> InputLocale needs to be something different as well:
>
> We don't set that so not relevant to this patch.
>
>> <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
>
>
>
> --
> Regards,
>
> Zeeshan Ali (Khattak)
> ________________________________________
> Befriend GNOME: http://www.gnome.org/friends/



-- 
Regards,

Zeeshan Ali (Khattak)
________________________________________
Befriend GNOME: http://www.gnome.org/friends/




More information about the Libosinfo mailing list