Gallery2 don't show special characters in navigation zone

lemming_moire
lemming_moire's picture

Joined: 2005-11-03
Posts: 15
Posted: Thu, 2005-11-03 14:56

Hi:

I find little bug in Gallery2. When you use a special character or a symbol (for example ¡ or ó or ñ), in spanish album is "álbum", the navigation zone don't interpret the special character and show it as is (as HTML code).

I take a screenshot in http://www.telefonica.net/web2/01101100011001010110110101101101011010010110111001100111/shot.jpg

Greetings.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-11-03 15:19

thanks for moving tis discussion to the forums!

with the screenshot i now understand what you mean.

when looking at the source code, it all looks correct. i only have es_MX installed, so i can't verify your issue.
but i suspect that the translation you're refering to has a bug, not G2.
which language code are you using? es_?

 
lemming_moire
lemming_moire's picture

Joined: 2005-11-03
Posts: 15
Posted: Thu, 2005-11-03 15:54

Hi valiant:

I'm using es_ES, you can find this translation in tracker (http://sourceforge.net/tracker/index.php?func=detail&aid=1343729&group_id=7130&atid=582564). I upload it three days ago. I revised the traslation but i don't find any error in it.

Sorry for my english.... :)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-11-03 17:32

i see. mindless just committed your es_ES translation.

but: you should not use html entities in translations, use UTF-8.

moving the topic to the translation forum.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-11-03 17:54

in most cases using html entities works ok, but we recommend UTF-8 in all translations.
in this particular case it passes the string through an URL and that process encodes the & as &
so you at least need to change translations for Album, album, Photo, photo, Movie, movie to UTF-8.

 
lemming_moire
lemming_moire's picture

Joined: 2005-11-03
Posts: 15
Posted: Thu, 2005-11-03 18:15

Ok. I will change all traslation files to UTF-8. When I finish i upload it. :)

 
lemming_moire
lemming_moire's picture

Joined: 2005-11-03
Posts: 15
Posted: Thu, 2005-11-03 21:08

Hi:

I make the changes to UTF-8 of "album" word for testing and it's do the same. It's show álbum.

If you want i can upload the es_ES.po file.

 
lemming_moire
lemming_moire's picture

Joined: 2005-11-03
Posts: 15
Posted: Thu, 2005-11-03 21:26

SORRY IT'S WORKS FINE NOW !!!!

I make all changes for special characters and works fine. ;-) When finish the others modules i upload it to tracker. :)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-11-03 22:58

great, thanks!