Bugzilla – Bug 152512
Wrong encoding in the translations
Last modified: 2006-02-24 20:52:29 UTC
Some translations are incorrectly encoded, thus having a strange effect. Attached is a screenshot, in which one can see proper Greek on the left-side pane, and probably wrongly encoded (the word .directory) on the right-side pane (file selector). At the same selector you may see a file with Greek name I created using the command touch, thus proving that the appearance of Greek letters is correct there.
Created attachment 69601 [details] screenshot of the file selector
Before creating a file with touch, check your locale settings (locale). Does this happen with GNOME and the gnome terminal? For me, it works with touch. Please create a new user, check the locale, and try again.
Sorry I wasn't clear. My locale is correct: LANG=el_GR.UTF-8 The file I generate with touch, is correctly displayed (the first name in the screenshot on green background) The name that is NOT displayed correctly is the second one (in grey background) and is written obviously by the translators as from the gnome-terminal I can see that the original file name is ".directory".
Mike, can you please check this issue, too? I cannot reproduce the problem.
Mike and Karl If you tell me where to find the respective .po file, I can correct that.
I have problems reproducing that as well. How can you see that the original file name is ".directory"?
Please see the attached image. In the foreground there is the file selector of Gimp. You may see the strange characters The path, is visible and is /home/mkab/Documents. In the background there is a gnome-terminal in the same directory, and a "ls -la" shows that the only file in there is .directory
Created attachment 70161 [details] fileselector and gnome-terminal
Can you please attach the file .directory as well? I would like to see it's contents.
Judging from the file size, the file seems to come from /etc/skel/Documents/.directory: root@magellan:~# LANG=el_GR.UTF-8 ll /etc/skel/Documents/.directory -rw-r--r-- 1 root root 1106 Μάρ 4 2002 /etc/skel/Documents/.directory root@magellan:~#
Thanks to Takashi IWAI <tiwai@suse.de> I can reproduce the problem now. One has to use the complete Gnome desktop, it is not enough to start a Gnome application from some other desktop (I used fvwm, therefore I could not reproduce it).
Actually the problem with the wrong encoding was not in the Greek translation in that file. The translations for most language were encoded correctly. The translations for Icelandic and Tamil were broken though and the file was therefore not valid UTF-8 anymore. This caused that the translations were not displayed at all for some languages (e.g. for Japanese) and were displayed broken for some other languages (e.g. Greek, Russian). Fixing the broken encoding for Icelandic and Tamil fixes the display problems for the other languages as a side effect.
Fixed aaa_skel package (which contains the /etc/skel/Documents/.directory file) submitted to STABLE. I.e. this should be fixed for the next Beta. Closing as FIXED.
Created attachment 70257 [details] ~/Documents/.directory Overwrite your ~/Documents/.directory file with the file attached here. This is the fixed file which is in the fixed aaa_skel package now. Then you can try that it works.