language package fails language package fails
 

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

language package fails

Started by Mcampos, April 07, 2004, 12:55:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mcampos

I had my gallery installed and using anime theme

trying to use the portuguese language package but it fails to open


In admin mode stil get english in the language selector.

tks in advance...
________________________________
MCampos

Nibbler

Can you post a link to your gallery, and any error messages you get please.

Mcampos

http://glamour.web.pt

i'm not getting errors....

it seems that the language wont load...
________________________________
MCampos

Nibbler

Not quite sure what is causing this, but if you save the following into a new php file and upload it to your coppermine directory, then go the php file in your browser, it should change the language to portuguese for you.


<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
echo 
mysql_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = 'portuguese' WHERE name = 'lang'") ? "Succeeded" mysql_error();
?>


Casper

It's not changing to any language, and themes are stuck as well.  Are you sure you uploaded all the languages.
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

Nibbler

Language changes if you override it in the url, so the lang file is there and functional.

Casper

Hmmm,

Strange, because I cannot change them using the usual ?lang= method.
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

Joachim Müller

I can confirm Casper's observation. This is probably due to the fact that the site uses frames to camouflage the real url (which is http://www.micaelcampos.com/glamour ). Make sure the "link to ecard" settings are pointing to the correct url.

GauGau

Mcampos

Stil not in portuguese!!!  :(


Quote from: "Nibbler"Not quite sure what is causing this, but if you save the following into a new php file and upload it to your coppermine directory, then go the php file in your browser, it should change the language to portuguese for you.


<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
echo 
mysql_query("UPDATE {$CONFIG['TABLE_CONFIG']} SET value = 'portuguese' WHERE name = 'lang'") ? "Succeeded" mysql_error();
?>

________________________________
MCampos

Casper

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

Nibbler

Site seems to now be in portuguese, so something worked  :)

Casper

If it changed after you did what I said, it was a cookie problem.  You will probably find that if you tried to change the language back to English in the config, your browser would still show Portuguese, as your cookie says this is the language you want.

If you want to be able to see whatever you have set in config, use the same method, but with ?lang=default
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