problem with greek language in cpg 1.3.2 problem with greek language in cpg 1.3.2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

problem with greek language in cpg 1.3.2

Started by versus7, September 21, 2004, 06:11:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

versus7

hello i have a problem with greek language, when i choose greek its all characters like chinese :o and i must always set manually the greek iso-8859-7 from my browser...
can any help me ?

my gallery is http://www.neoxori.greatnow.com/gallery/index.php

sorry for my bad english
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.oixalia.gr%2Fgall%2Fcpmfetch%2Fcfimageget.php&hash=166e099ef58f7961654d083b1559715fb2969e72)

Tranz

Just to make sure...do other Greek sites look OK to you? I looked at that page in Firefox and IE and the characters look different, although it was on the same PC. Could you please take a screenshot to show what the characters are supposed to look like?

Joachim Müller

The page looks broken for me in both browsers, so a blind guess would be your greek language files are broken. Get a fresh copy of the coppermine package and overwrite the greek language files on your page with the ones from the package (without modifying them, use a "regular" ftp application, no web suite like dreamweaver, golive or frontpage).

Joachim

versus7

where can i find this paket, have you a link please ?
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.oixalia.gr%2Fgall%2Fcpmfetch%2Fcfimageget.php&hash=166e099ef58f7961654d083b1559715fb2969e72)

Joachim Müller

Get the most recent stable from the web cvs: http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/lang/greek.php
, or download a fresh copy of the coppermine package from the downloads section (link at top of this page). Where did you get the package you're currently using from?

Joachim

versus7

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.oixalia.gr%2Fgall%2Fcpmfetch%2Fcfimageget.php&hash=166e099ef58f7961654d083b1559715fb2969e72)

versus7

i downloaded the cpg 1.3.2 and i dont made changes in lang files
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.oixalia.gr%2Fgall%2Fcpmfetch%2Fcfimageget.php&hash=166e099ef58f7961654d083b1559715fb2969e72)

versus7

i made what did you say but i don't have see changes  :\'(
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.oixalia.gr%2Fgall%2Fcpmfetch%2Fcfimageget.php&hash=166e099ef58f7961654d083b1559715fb2969e72)

Nibbler

Can you overwrite your existing themes/classic/theme.php with the one from this zip and tell me if that solves the problem.

versus7

Ohhhhhhhhh yesssssssssss thats it

what is the changes between the old and the new theme ?

thank you very very much Nibbler  ;)

you are great!!!!!!!!!!!!!!  :o :D
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.oixalia.gr%2Fgall%2Fcpmfetch%2Fcfimageget.php&hash=166e099ef58f7961654d083b1559715fb2969e72)

Nibbler

It's an issue with the AddDefaultCharset directive in Apache 2. If the script doesn't send a content type header (which cpg doesn't) then apache will by default send it's own header setting the character encoding to ISO-8859-1 which overrides the meta info specifying the character encoding we read from the lang file. I added such a correct content type header into that theme file so Apache won't send it's own (incorrect) header. The change is fairly minor. See Apache bug #23421 for more details.

@devs: I will commit this to all theme files tonight.

versus7

this is in my phpinfo

iconv support enabled

Directive Local Value Master Value
iconv.input_encoding
ISO-8859-1 ISO-8859-1
iconv.internal_encoding
ISO-8859-1 ISO-8859-1
iconv.output_encoding
ISO-8859-1 ISO-8859-1

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.oixalia.gr%2Fgall%2Fcpmfetch%2Fcfimageget.php&hash=166e099ef58f7961654d083b1559715fb2969e72)

Fosy

Hi, i have the same problem...so with spanish languaje..
please any with code for modification?

attach my original file of my theme (not is classic theme), for anyone edit code for me :) no have experience...

Thanks in advance...

Nibbler


Fosy

WoWz, working 100%
i am happy now friend....

u have the neccesary code for the nexts themes? possible changes, etc...

Many Thanks again!!!