Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75107 - Incorrect encoding of Gentoo gdm themes translations
Summary: Incorrect encoding of Gentoo gdm themes translations
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: file:///usr/share/gdm/themes/gentoo-c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 14:46 UTC by Olivier Mengué
Modified: 2005-05-08 08:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Mengué 2004-12-20 14:46:23 UTC
/usr/share/gdm/themes/gentoo-cow/gentoo-cow.xml, /usr/share/gdm/themes/gentoo-emergence/gentoo-emergence.xml

are incorrectly encoded (ie, not UTF-8), so translations to non ASCII languages (french in my case) are not usable.


It seems there has been two 8bits->utf-8 passes on the files (but that may not be the case for all locales which means that the file may be VERY broken).

Reproducible: Always
Steps to Reproduce:
The simple way to check the encoding is to open the XML file in Mozilla/Firefox or with the Gnome text editor (encoding: 'UTF-8').
The french translation for "S_ystem" in gentoo-cow.xml should be "S_yst
Comment 1 Olivier Mengué 2004-12-20 14:46:23 UTC
/usr/share/gdm/themes/gentoo-cow/gentoo-cow.xml, /usr/share/gdm/themes/gentoo-emergence/gentoo-emergence.xml

are incorrectly encoded (ie, not UTF-8), so translations to non ASCII languages (french in my case) are not usable.


It seems there has been two 8bits->utf-8 passes on the files (but that may not be the case for all locales which means that the file may be VERY broken).

Reproducible: Always
Steps to Reproduce:
The simple way to check the encoding is to open the XML file in Mozilla/Firefox or with the Gnome text editor (encoding: 'UTF-8').
The french translation for "S_ystem" in gentoo-cow.xml should be "S_ystème".

Actual Results:  
Text displayed on the gdm screen is "unreadable" ('Système' appears as
'SystÃÂme') for a french user when the system is configured as french
(LANG=fr_FR in /etc/env.d/02locale).


gnome-base/gdm 2.6.0.6 (and previous)
Comment 2 Olivier Mengué 2004-12-20 14:58:52 UTC
gentoo-emergence.xml seems to be fixed (at least the french translation) in ebuild 2.6.0.6 (but was broken in version 2.6.0.4-r1).
Comment 3 foser (RETIRED) gentoo-dev 2005-01-08 15:04:12 UTC
well if it's fixed for you & no further reports I'm closing this one.

The odd thing here is that both versions you indicate use the exact same theme tarball, so I can't really imagine there being a problem there.
Comment 4 Daniel Rodríguez 2005-05-08 08:02:03 UTC
gdm-2.6.0.7 doesn't work for me. I've GDM in spanish and session label shows like "Sesiijn" (that's a capital "A" with two dots above and a cube) where it should said "Sessi
Comment 5 Daniel Rodríguez 2005-05-08 08:02:03 UTC
gdm-2.6.0.7 doesn't work for me. I've GDM in spanish and session label shows like "Sesiijn" (that's a capital "A" with two dots above and a cube) where it should said "Sessión" (that's an "o" with accent).
I've change all the <text> tags in the gentoo-cow.xml archive to <stock type="..." /> tags and it seems to work ok for all the labels.
<stock> tags use the translations provided by GDM team and seems to be correctly encoded in UTF-8.