• Re: Bug#266075: some localization issues

    From Joey Hess@1:229/2 to Christian Perrier on Fri Aug 20 13:20:18 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    Christian Perrier wrote:

    it should be fairly easy to write a script that handles the locale environment of gdm. But i don't really use gdm so I don't know the possible values and i have little spare time to study it right now.
    If someone would give me the variable that must be set and the
    possible entries for the available locales, I'd be happy to write the script.

    That seems fairly easy. You need to set LANG in /etc/default/gdm. The
    value is the language's ISO-639 code

    base-config is already taking care of this.

    But, I guess that default KDE sessions use the configured language as
    a default and not English, and then do not prompt the user about the language, is it?

    In my experience it has an annoying prompt for language still.

    --
    see shy jo

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQFBJcaSd8HHehbQuO8RArgnAJ4+WQT6WA2PamMVMyWlwqXLzB7/4QCfYw20 pXFRVIDT1k+hFkRIVW5mL04=
    =hQgQ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Christian Perrier@1:229/2 to All on Fri Aug 20 15:20:11 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    Quoting Joey Hess ([email protected]):

    That seems fairly easy. You need to set LANG in /etc/default/gdm. The
    value is the language's ISO-639 code

    base-config is already taking care of this.


    Yep, I've seen that patch by Otavio. However, we should keep in mind
    this is a good workaround but the long term solution for this more
    pertains to l-c (localization-config, of course).



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Konstantinos Margaritis@1:229/2 to Joey Hess on Fri Aug 20 15:30:14 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    On Παρ 20 Αυγ 2004 12:38, Joey Hess wrote:
    But, I guess that default KDE sessions use the configured
    language as a default and not English, and then do not prompt the
    user about the language, is it?

    In my experience it has an annoying prompt for language still.

    It does, but I thought that this was actually a nice feature, after
    all, a user like the idea of being asked this kind of info (I know I
    do). Anyway, it is very simple to configure just like in KDE2 so if
    you feel it has to be done, i'll do it.

    Konstantinos

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Alexandre Hessemann@1:229/2 to All on Mon Aug 16 18:40:13 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    package: installation-reports
    version: Debian GNU/Linux testing "Sarge" - Official Snapshot i386 \
    Binary-1 (20040806)

    Hi all,

    I just installed the Debian Sarge with the CD mentionned above (I
    suppose this is the Debian Installer RC1) and I found the following
    issues concerning localization. Note that I used the "linux26" install
    and chose the "Desktop Environment" set of packages.

    1) when the installation is finished, gdm start localized (in french for
    me) because the installer is setting LANG and gdm uses it when it
    starts, however after a reboot messages are in English : LANG isn't set
    at boot time and /etc/default/gdm isn't filled : it has a line
    LANG=
    where I think it should be
    LANG=<LANG you chose at installation time>

    2) Console font is set to ISO-8859-15 only for the first terminal.
    Why not also set it for others vc ?
    Config file /etc/console-tools/config is containing
    APP_CHARSET_MAP=<some charset>
    Why not add (for 1<n<=6)
    APP_CHARSET_MAP_vc<n>=<same charset>

    3) KDE starts in English : kde-i18n-fr isn't on the first CD
    I didn't try with a two or more CD set because I am finishing the
    installation using a network connection with another computer with a
    DVD-reader (so using DVD Debian images).
    This may be a non-issue with more CDs or a DVD, but I note that GNOME
    however is in French. (gnome-libs-data is on the first CD).

    4) When GNOME starts, it is displaying an error about xscreensaver
    missing. As xscreensaver is on the first CD, why not install it ?
    (OK, this is not a localization issue, but "some issues" would have been
    a little too vague as a subject... :-) )

    5) The X server is using the keyboard in qwerty mode as others reported, requiring to do a dpkg-reconfigure xserver-xfree86 or to edit manually /etc/X11/XF86Config-4 ...
    Actually, it seems that the XF86Config-4 is a default one, as the
    resolution wasn't optimal either, but I forgot to check that...

    OK, most of these issues already been posted (except the second one ?),
    but I hope my propositions may help you doing the job faster :-)

    You did a great job with the Debian Installer RC1, however my father
    still would have some problems with the preceding points (except the
    second one as he doesn't use the console anyway).
    Keep improving and Thanks for all !

    --
    Alexandre Hessemann <[email protected]>



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Christian Perrier@1:229/2 to All on Mon Aug 16 20:10:11 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    clone 266075 -1 -2
    reassign -1 localization-config
    retitle -1 Should set LANG in /etc/default/gdm
    reassign -2 languagechooser
    retitle -2 Should set console font for all virtual consoles
    reassign 266075 languagechooser
    retitle 266075 Should trigger installation of localization-config when installing in a language different from English

    1) when the installation is finished, gdm start localized (in french for
    me) because the installer is setting LANG and gdm uses it when it
    starts, however after a reboot messages are in English : LANG isn't set
    at boot time and /etc/default/gdm isn't filled : it has a line
    LANG=
    where I think it should be
    LANG=<LANG you chose at installation time>

    IIRC, this is a know gdm issue. There has been some debate about
    having it use the system locale.

    This could me solved by using the localization-config package recently
    uploaded by Konstantinos, I guess. Kostas, what do you think of it?


    2) Console font is set to ISO-8859-15 only for the first terminal.
    Why not also set it for others vc ?
    Config file /etc/console-tools/config is containing
    APP_CHARSET_MAP=<some charset>
    Why not add (for 1<n<=6)
    APP_CHARSET_MAP_vc<n>=<same charset>

    Good suggestion. Should be easy to add to languagechooser's prebaseconfig


    3) KDE starts in English : kde-i18n-fr isn't on the first CD
    I didn't try with a two or more CD set because I am finishing the installation using a network connection with another computer with a DVD-reader (so using DVD Debian images).
    This may be a non-issue with more CDs or a DVD, but I note that GNOME
    however is in French. (gnome-libs-data is on the first CD).

    hmm,not sure about that one.

    localization-config allows KDE to be localized by default, so this is
    an argument for adding this package. This was already suggested and I
    take this opportunity.



    4) When GNOME starts, it is displaying an error about xscreensaver
    missing. As xscreensaver is on the first CD, why not install it ?
    (OK, this is not a localization issue, but "some issues" would have been
    a little too vague as a subject... :-) )

    And this is not an installer issue also. You should report this
    against the relevant package, but indeed the place of packages is
    determined by popularity-contest stats, so....



    5) The X server is using the keyboard in qwerty mode as others reported, requiring to do a dpkg-reconfigure xserver-xfree86 or to edit manually /etc/X11/XF86Config-4 ...
    Actually, it seems that the XF86Config-4 is a default one, as the
    resolution wasn't optimal either, but I forgot to check that...

    Very well known and tricky problem...which should be solved by localization-config being added to the default installs.

    Many thanks for your report....it raises issues which may be difficult
    to solve before sarge but, well, they will be dealt with some day.





    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Konstantinos Margaritis@1:229/2 to Christian Perrier on Mon Aug 16 21:40:06 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    On Δευ 16 Αυγ 2004 20:45, Christian Perrier wrote:
    This could me solved by using the localization-config package
    recently uploaded by Konstantinos, I guess. Kostas, what do you
    think of it?

    it should be fairly easy to write a script that handles the locale
    environment of gdm. But i don't really use gdm so I don't know the
    possible values and i have little spare time to study it right now.
    If someone would give me the variable that must be set and the
    possible entries for the available locales, I'd be happy to write the
    script.

    3) KDE starts in English : kde-i18n-fr isn't on the first CD
    I didn't try with a two or more CD set because I am finishing the installation using a network connection with another computer
    with a DVD-reader (so using DVD Debian images).
    This may be a non-issue with more CDs or a DVD, but I note that
    GNOME however is in French. (gnome-libs-data is on the first CD).

    hmm,not sure about that one.

    localization-config allows KDE to be localized by default, so this
    is an argument for adding this package. This was already suggested
    and I take this opportunity.

    KDE is already localized by default (at least for Greek it is) once
    the user chooses the correct task in tasksel (thus making sure the
    correct kde-i18n-xx package is installed). There is nothing specific
    to Greek though so I guess it should work for all locales the same
    way. localization-config does nothing for kde3 localization. By
    localization, I mean the translated menus, etc. The X keyboard stuff
    is dealt separetely.

    Konstantinos

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Christian Perrier@1:229/2 to All on Tue Aug 17 08:30:11 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    it should be fairly easy to write a script that handles the locale environment of gdm. But i don't really use gdm so I don't know the
    possible values and i have little spare time to study it right now.
    If someone would give me the variable that must be set and the
    possible entries for the available locales, I'd be happy to write the
    script.

    That seems fairly easy. You need to set LANG in /etc/default/gdm. The
    value is the language's ISO-639 code

    KDE is already localized by default (at least for Greek it is) once
    the user chooses the correct task in tasksel (thus making sure the
    correct kde-i18n-xx package is installed). There is nothing specific
    to Greek though so I guess it should work for all locales the same
    way. localization-config does nothing for kde3 localization. By
    localization, I mean the translated menus, etc. The X keyboard stuff
    is dealt separetely.

    But, I guess that default KDE sessions use the configured language as
    a default and not English, and then do not prompt the user about the
    language, is it?


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Joey Hess@1:229/2 to Alexandre Hessemann on Tue Aug 17 09:50:04 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    Alexandre Hessemann wrote:
    1) when the installation is finished, gdm start localized (in french for
    me) because the installer is setting LANG and gdm uses it when it
    starts, however after a reboot messages are in English : LANG isn't set
    at boot time and /etc/default/gdm isn't filled : it has a line
    LANG=
    where I think it should be
    LANG=<LANG you chose at installation time>

    This is bug #265101.

    3) KDE starts in English : kde-i18n-fr isn't on the first CD
    I didn't try with a two or more CD set because I am finishing the installation using a network connection with another computer with a DVD-reader (so using DVD Debian images).
    This may be a non-issue with more CDs or a DVD, but I note that GNOME
    however is in French. (gnome-libs-data is on the first CD).

    I'm afraid some things just don't fit on one CD, and a full set of kde localisations in amoung them.

    4) When GNOME starts, it is displaying an error about xscreensaver
    missing. As xscreensaver is on the first CD, why not install it ?

    What kind of error? I've never seen this error.

    --
    see shy jo

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQFBIbHWd8HHehbQuO8RAutzAJ4zx2s47Y6H2t8suTiglNu+/wxywQCeMvj/ cXM+dziKLwNbEQYxZXDsF38=
    =oSQ7
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)