PDA

View Full Version : Image comments in Spanish


josemabcn
11-19-2005, 09:05 PM
I change the original code in the html templates:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

fot the new

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

The contents in my languaje then are corrects, but the content in the image description not show correctly the punctuation marks languaje.

Someone can help me?

Thanks and sorry for my English.

Jose

Connie
11-20-2005, 08:18 AM
you should not change the Language code?

We made everything in UTF-8 so the database data + everything which will be printed will be correct
even spanish will be correct ;=)

switch back to UTF-8! We did it for this reason! And we documentated that!

Do everything in UTF-8 and it will work! No sense for other language code

josemabcn
11-20-2005, 04:40 PM
Connie, thanks for your reply, but:

If I use UTF-8 the comments image are OK, but the content of the template is incorrect, for example, next to the exif info the page show:

EXIFS: Canon EOS 20D - 133 mm - f 4.5 - 1/60 sec - 400 iso Categor�a: [Retratos]

When the correct is:

EXIFS: Canon EOS 20D - 133 mm - f 4.5 - 1/60 sec - 400 iso Categoría: [Retratos]

I cant put the correct punctuation marks in spanish languaje. If I change to the charset=iso-8859-1 then the template comments are correct but the image comments no.

Its possible any solution?


Jose

you should not change the Language code?

We made everything in UTF-8 so the database data + everything which will be printed will be correct
even spanish will be correct ;=)

switch back to UTF-8! We did it for this reason! And we documentated that!

Do everything in UTF-8 and it will work! No sense for other language code

Joe[y]
11-20-2005, 04:44 PM
try it with your browsers encoding at utf-8... or on 'auto-detect'

josemabcn
11-20-2005, 05:02 PM
Joe, I test your suggestion but is the same, I have the same problems.

Jose

']try it with your browsers encoding at utf-8... or on 'auto-detect'

Joe[y]
11-20-2005, 05:18 PM
perhaps if you gave us a link to your photoblog we could see the problem easier ;)

josemabcn
11-20-2005, 05:49 PM
Joe, the link is:

http://www.papeldearroz.com/pixelpost/

This version es with UTF-8

Thanks,

Jose

']perhaps if you gave us a link to your photoblog we could see the problem easier ;)

Connie
11-20-2005, 05:53 PM
I think I understand the problem, the problematic text comes from the language file not from the template

1) please switch to language "english" in Admin section.
Everything ok?

2) did you edit the language file yourself?
which editor you used?
is this editor a plain text editor or is something like a text processor, WORD, Wordpad etc.?

There must be the solution

Joe[y]
11-20-2005, 05:54 PM
i assume that character is being read from the spanish language file - looking at the file i can't see a problem but i only have access to a future pp version so i don't know if it's any different in 1.4.2. see what happens if you replace the tag with the actual word inside your template file - if that fixes it then it means there's a problem with the language file.

Connie
11-20-2005, 06:22 PM
same as switching to another language, one this steps should solve the problem

but remember: all changes / editing must be done in a clear ASCII editor like notepad, notetab pro, ultraedit..

josemabcn
11-20-2005, 07:04 PM
Connie,

If I change the languaje in Pixelpost Admin, the result is OK because "Category" don't have any spanish languaje marks.

I don't translate the languaje file in spanish, is the defult spanish file. I I open the spanish file with Notepad the name is ok:

// Category
$lang_category_singular = "Categoría:";
$lang_category_plural = "Categorías:";

More ideas?

Jose


I think I understand the problem, the problematic text comes from the language file not from the template

1) please switch to language "english" in Admin section.
Everything ok?

2) did you edit the language file yourself?
which editor you used?
is this editor a plain text editor or is something like a text processor, WORD, Wordpad etc.?

There must be the solution

josemabcn
11-20-2005, 07:10 PM
If I changed to French languaje in Pixelpost admin, the problem is the same:

Te languaje file say:

$lang_category_singular = "catégorie:";

But in the page:

cat�gorie:

Aghhhhh, I don't understadn.....

Jose

Connie
11-20-2005, 07:19 PM
You are right.. something happened with these files

so we must take care and check
but I cannot promise that I can do it today, tomorrow evening, ok?

josemabcn
11-20-2005, 07:38 PM
Thanks a lot Connie!!.

Jose

You are right.. something happened with these files

so we must take care and check
but I cannot promise that I can do it today, tomorrow evening, ok?

Connie
11-22-2005, 08:34 PM
Jose,

please use the language file which I attach here and tell me if that helps

It has escaped special characters...

josemabcn
11-23-2005, 09:23 PM
Connie,

Thanks, this is the solution, the accents with &acute; works fine.

Thanks a lot,

Jose

Jose,

please use the language file which I attach here and tell me if that helps

It has escaped special characters...

Connie
11-24-2005, 06:31 AM
Muy bien! Adelante!

Sergio de la Torre
11-24-2005, 12:18 PM
I was looking for it :D

http://forum.pixelpost.org/showthread.php?t=2565&highlight=spanish

Sergio de la Torre
11-24-2005, 12:22 PM
Very good, works fine :D

josemabcn
11-24-2005, 04:52 PM
Caramba Sergio, por donde nos vemos tambien. Un saludoooo.

Jose

Very good, works fine :D

Sergio de la Torre
11-24-2005, 09:29 PM
Quién eres? No te reconozco :P

GeoS
11-28-2005, 11:44 AM
Please use english at forum!!

Connie
11-28-2005, 07:00 PM
Geos,

It's just some private hallo!