coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: modelsfree on March 25, 2004, 06:56:52 PM

Title: Problems with charset and languages
Post by: modelsfree on March 25, 2004, 06:56:52 PM
Hi,
i have a problem related the charset and the language of my CPG.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{lang_dir}">
<head>
<title>ModelsFree - Benvenuto !</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />

This is the partial source of my index.php viewed in the browser. I have discovered this problem why I can't change the language of my CPG. In the admin pannel, under configuration, I have setted the english language but the pages are still in italian (in the database the default language is changed to english). Why the script don't change {lang_dir} and {charset} with the right values?

Can someone help me?

Tnx in advance
Title: Problems with charset and languages
Post by: Joachim Müller on March 26, 2004, 06:42:35 AM
this is a known bug in the cpg1.2.1 version of the hardwired theme. Change<html dir="{lang_dir}">to<html dir="{LANG_DIR}">and<meta http-equiv="content-type" content="text/html; charset={charset}" />to<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />Case does matter (in this case :wink: ).

GauGau
Title: Problems with charset and languages
Post by: modelsfree on March 28, 2004, 07:18:01 PM
Thank you Gau Gau,
the HTML is now ok but I can't change the language of my CPG... i set to english but the pages are still in italian.
Title: Problems with charset and languages
Post by: Nibbler on March 28, 2004, 07:22:45 PM
Looks english to me.
Title: Problems with charset and languages
Post by: Casper on March 28, 2004, 07:41:03 PM
Try forcing it by typing the url like this, ..../coppermine/index.hp?lang=english
If that works, it was a cookie thing.  If you delete the cookie on your browser, you will then get what is set in config.
Title: Re: Problems with charset and languages
Post by: Avirex on December 31, 2005, 08:42:56 PM
Hey every body. I have the same problem with language and charset. Take a look at my gallery http://ice-cool.jino-net.ru/gallery/
I try to change a few things just like GauGau posted. I try to change Language and charset in gonfig, but it doesen't work. I try to delete cookies, doesen't work either. I have no idea what to do, can some one help me?
Title: Re: Problems with charset and languages
Post by: Nibbler on December 31, 2005, 10:07:13 PM
This is the 1.2 support board. Locking.