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...
Can you post a link to your gallery, and any error messages you get please.
http://glamour.web.pt
i'm not getting errors....
it seems that the language wont load...
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();
?>
It's not changing to any language, and themes are stuck as well. Are you sure you uploaded all the languages.
Language changes if you override it in the url, so the lang file is there and functional.
Hmmm,
Strange, because I cannot change them using the usual ?lang= method.
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
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();
?>
Try typing this in your browser;
http://www.micaelcampos.com/glamour?lang=portuguese
Site seems to now be in portuguese, so something worked :)
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