Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Problems with charset and languages  (Read 9177 times)

0 Members and 1 Guest are viewing this topic.

modelsfree

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • http://www.modelsfree.com
Problems with charset and languages
« on: March 25, 2004, 06:56:52 pm »

Hi,
i have a problem related the charset and the language of my CPG.

Code: [Select]
<!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
Logged
I'm sorry for my english... my italian is better!

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Problems with charset and languages
« Reply #1 on: March 26, 2004, 06:42:35 am »

this is a known bug in the cpg1.2.1 version of the hardwired theme. Change
Code: [Select]
<html dir="{lang_dir}">to
Code: [Select]
<html dir="{LANG_DIR}">and
Code: [Select]
<meta http-equiv="content-type" content="text/html; charset={charset}" />to
Code: [Select]
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />Case does matter (in this case :wink: ).

GauGau
Logged

modelsfree

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
    • http://www.modelsfree.com
Problems with charset and languages
« Reply #2 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.
Logged
I'm sorry for my english... my italian is better!

Nibbler

  • Guest
Problems with charset and languages
« Reply #3 on: March 28, 2004, 07:22:45 pm »

Looks english to me.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Problems with charset and languages
« Reply #4 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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Avirex

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Problems with charset and languages
« Reply #5 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?
Logged

Nibbler

  • Guest
Re: Problems with charset and languages
« Reply #6 on: December 31, 2005, 10:07:13 pm »

This is the 1.2 support board. Locking.
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 14 queries.