• Bug#265538: [INTL:sv] Minor concerns about Swedish entry in languagelis

    From Recai Oktas@1:229/2 to All on Fri Aug 13 18:20:11 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    Package: languagechooser
    Severity: minor
    Tags: l10n patch

    There are some minor problems with Swedish entry which doesn't cause
    harmful results at the moment, but may introduce unexpected bugs in
    future as far as the current format of languagelist and SUPPORTED list concerned:

    * Fallback locale code (3rd entry 'sv_SE.ISO.8859-1') must be present in
    the first column of /usr/share/i18n/SUPPORTED:

    -Swedish;sv;sv_SE.ISO-8859-1;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15) +Swedish;sv;sv_SE;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15)

    * Note that 'sv_SE' in SUPPORTED list points to the 'sv_SE.ISO-8859-1'.
    To include the 'euro' symbol, it should be changed as follows:

    -Swedish;sv;sv_SE.ISO-8859-1;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15) +Swedish;sv;sv_SE.ISO-8859-15;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15)

    Seeing that the console font ACM is also iso15, I suggest to apply the
    last patch (after tested by a Swedish spoken user).

    * There are two countries where Swedish is spoken: Sweden and Finland.
    Finnish is already existed in languagelist (probably because it has a
    different locale, not a variant of sv_SE). So the following change
    could also be considered to apply in an effort to drop the country
    chooser dialog for Swedish:

    (with euro -- suggested) -Swedish;sv;sv_SE.ISO-8859-1;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15) +Swedish;sv_SE.ISO-8859-15;sv_SE.ISO-8859-15;sv;SV;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15)

    (w/o euro) -Swedish;sv;sv_SE.ISO-8859-1;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15) +Swedish;sv_SE;sv_SE;sv;SV;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15)

    --
    roktas

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

    iD8DBQFBHOKZnA44mz/SXIQRAmOAAJ4gZ2AAOzXYtYvBCJJJcA26IAOPMwCfaohl GRaMUkco2afa9yyTIc3d03o=
    =GctA
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Petter Reinholdtsen@1:229/2 to All on Fri Aug 13 21:00:07 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    [Recai Oktas]
    There are some minor problems with Swedish entry which doesn't cause
    harmful results at the moment, but may introduce unexpected bugs in
    future as far as the current format of languagelist and SUPPORTED list concerned:

    * Fallback locale code (3rd entry 'sv_SE.ISO.8859-1') must be present in
    the first column of /usr/share/i18n/SUPPORTED:

    I believe this is the wrong fix. The locale code should be
    'sv_SE@euro' if ISO-8859-15 is needed. There is no need to list the
    charset explicitly, as it will be selected from the SUPPORTED list.

    -Swedish;sv;sv_SE.ISO-8859-1;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15) +Swedish;sv;sv_SE;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15)

    This change isn't needed.


    * Note that 'sv_SE' in SUPPORTED list points to the 'sv_SE.ISO-8859-1'.
    To include the 'euro' symbol, it should be changed as follows:

    -Swedish;sv;sv_SE.ISO-8859-1;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15) +Swedish;sv;sv_SE.ISO-8859-15;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15)

    This change is wrong. Who inserted .ISO-8859-1 there? As far as I
    know it should not be included.


    --
    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 Recai Oktas@1:229/2 to All on Fri Aug 13 21:40:06 2004
    XPost: linux.debian.maint.boot
    From: [email protected]

    * Petter Reinholdtsen [2004-08-13 18:18:27+0200]
    [Recai Oktas]
    There are some minor problems with Swedish entry which doesn't cause harmful results at the moment, but may introduce unexpected bugs in
    future as far as the current format of languagelist and SUPPORTED list concerned:

    * Fallback locale code (3rd entry 'sv_SE.ISO.8859-1') must be present in
    the first column of /usr/share/i18n/SUPPORTED:

    I believe this is the wrong fix. The locale code should be
    'sv_SE@euro' if ISO-8859-15 is needed. There is no need to list the
    charset explicitly, as it will be selected from the SUPPORTED list.

    I agree that it should be 'sv_SE@euro', but there is no such entry in /usr/share/i18n/SUPPORTED, hence my change based on the current
    situation. Then should fix we fix it in SUPPORTED list?

    $ dpkg -l locales
    [...]
    ii locales 2.3.2.ds1-15

    $ grep ^sv_SE /usr/share/i18n/SUPPORTED

    sv_SE.UTF-8 UTF-8
    sv_SE ISO-8859-1
    sv_SE.ISO-8859-15 ISO-8859-15

    Please also note that locales with 'euro' modifier is not handled
    properly in countrychooser: #263317. I've suggested a fix for this
    issue also.

    -Swedish;sv;sv_SE.ISO-8859-1;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15) +Swedish;sv;sv_SE;sv;;sv_SV:sv:en_GB:en;kbd=lat0-sun16(iso15)

    This change isn't needed.

    As I emphasized the fact in the report, yes, no need at the moment. I submitted this only to notify for possible problems in future.

    --
    roktas

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

    iD8DBQFBHRXInA44mz/SXIQRAp1vAJ9AVmqitnzIo/vwRXocVauesp++kACbB22o iBpvlB23t/zsGTWJmxGUrls=
    =jqMR
    -----END PGP SIGNATURE-----

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