Gary Mills wrote:
>> Do you mean when you select "System Default" in gdm
>> locale selection,
>> you will login in C locale instead of
>> en_CA.ISO8859-1?
> 
> That's almost correct.  After the Live Upgrade to build 99, I logged in 
> without
> specifying any language or session.  I expected it to give me the ones that 
> I'd
> previously used, as it did for build 98.  Instead, it gave me the `C' locale 
> and
> the session of a new user.
> 
>> Could you confirm /etc/default/init includes the
>> following?
>>
>> LC_COLLATE=en_CA.ISO8859-1
>> LC_CTYPE=en_CA.ISO8859-1
>> LC_MESSAGES=C
>> LC_MONETARY=en_CA.ISO8859-1
>> LC_NUMERIC=en_CA.ISO8859-1
>> LC_TIME=en_CA.ISO8859-1
> 
> # grep -v ^# /etc/default/init
> TZ=Canada/Central
> CMASK=022
> LC_COLLATE=en_CA.ISO8859-1
> LC_CTYPE=en_CA.ISO8859-1
> LC_MESSAGES=C
> LC_MONETARY=en_CA.ISO8859-1
> LC_NUMERIC=en_CA.ISO8859-1
> LC_TIME=en_CA.ISO8859-1

OK, your system default is en_CA.ISO8859-1.
You are right. When default locale is defined with LC_* variable,
gdm will fall into C locale when System Default is selected.
This is a bug.
If /etc/default/init is defined with LANG=en_CA.ISO8859-1,
you can log in en_CA.ISO8859-1 as expected.

> 
>> gdm has been showing only UTF-8 locales. To add
>> non-UTF-8 locale,
>> you need add the locale manually in
>> /etc/X11/gdm/locale.alias
>> and restart gdm.
>>
>>       :
>> lish(Australia)      en_AU.UTF-8,en_AU
>>    English(Canada)         en_CA.UTF-8,en_CA
>> nglish(Canada)         en_CA.ISO8859-1,en_CA
>>    English(Ireland)        en_IE.UTF-8,en_IE
>>    :
> 
> I've done that.  Now, gdm displays the en_CA.ISO8859-1 in its languages menu.
> I selected that one and logged in.  My locale was en_CA.ISO8859-1 in a 
> gnome-terminal.
> So, it all works now.  For some reason, I had to update locale.alias for 
> build 99.
> 
> Here are some observations, first for the CDE login manager, dtlogin.  The 
> languages
> menu has ``Show unicode only'' checked by default.  It shows only the North 
> American
> locales that I installed with the initial Solaris installation.  It also 
> shows the C/POSIX
> locale, and the system default of en_CA.ISO8859-1.  When I uncheck that 
> option, it
> shows both ISO8859 and UTF-8 locales.
> 
> For the gnome login manager, gdm, I notice that its languages menu shows all 
> of the
> UTF-8 locales, most of which are not installed on this workstation.  It also 
> shows `System
> Default' and `Last Language', but doesn't indicate what they are.  After I 
> adjusted that
> file, it did also show me the en_CA.ISO8859-1 locale.
> 
> I understand the need to encourage people to move to the UTF-8 locales, but 
> for
> large sites this has to be a site decision.

If "System Default" works correctly, the site users can just select "System 
Default" without modifying locale.alias file.

Thanks,
Fuyuki

Reply via email to