Summary: | Incorrect encoding of Gentoo gdm themes translations | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Olivier Mengué <dolmen> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | file:///usr/share/gdm/themes/gentoo-cow/gentoo-cow.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
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è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) 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). 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. 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 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. |