I've just installed 1.2.0 and trying to change langauge to Danish bot get this error:
Parse error: parse error, unexpected ',', expecting ')' in /STORE/ejstrup_kongskov/public_html/forside/lang/danish.php on line 335
Anyone knows what to do?
you shouldn't be using cpg1.2.0 - the most recent stable version is cpg1.2.1!
GauGau
I chose 1.2.0 because I could see that 1.2.1 didn't had support for Danish language - but can I use the 1.2.0 language file for 1.2.1?
1.2.1 does have support for danish, and the language file should be ok.
there was an error in the danish language file for 1.2.0, but I thought that had been fixed.
You really should use 1.2.1
Thanks - I just found out too at http://forum.coppermine-gallery.net/index.php?topic=1799. :)
I'll try the 1.2.1 version - the easiest is to make a new installation right?
Just uploaded the new version and it works thanks!
Some where the danish æ, ø and å is shown wrongly - like æ is shown as æ.
But it's not everywhere.
The source shows this:
<meta http-equiv="content-type" content="text/html; charset={charset}" />
dunno where this has been posted, change it manually to ISO-whatever if you only use danish, or search the board. Thanks for pointing this out anyway; I'll look after this - needs fixing...
GauGau
I have both visitors from home and abroad, so it would be nice if visitors outside Denmark got the pages in their language - or at least showed the Danish characters correctly.
If I use a standard Mozilla Firebird/Firebox browser (with auto detection off) the same problem persists. If I change the character coding to unicode-utf-8 - it shows it rightly.
Should I "hardcode" the meta tag?
for the ability for users to see the menus in their own language, see this thread, http://forum.coppermine-gallery.net/index.php?topic=621
Thanks for the link but I don't want to give my users the ability to change the language with flags etcs. As I understood when choosing fx "Danish-utf-8" as the main language would be Danish. But when character-coding is set to unicode (utf-8) then the main titles would be displayed in the viewers own language.
It looks like en error in the "Hardwired" theme. When in the admin mode characters like ø is displayed like Ã¥. If I choose the default theme it's fine.
And apparently gecko browsers like Mozilla connot figure out to display the characters correctly when it's not set to display unicode - which it isn't by default.
Quote from: "je79ayps"Thanks for the link but I don't want to give my users the ability to change the language with flags etcs. As I understood when choosing fx "Danish-utf-8" as the main language would be Danish. But when character-coding is set to unicode (utf-8) then the main titles would be displayed in the viewers own language.
Well thats a new one on me. I thought that set the character set, but where do you think it gets the translation.
in the hardwired theme, change<meta http-equiv="content-type" content="text/html; charset={charset}" />
to<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
GauGau
I've changed it in the template.html file but apparently there's no difference. The theme.php had charset with capitals.
Strange. When I view the source of the site it says:
<meta http-equiv="content-type" content="text/html; charset={charset}" />
So do I need to change it somewhere else?