coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: je79ayps on February 09, 2004, 09:56:04 PM

Title: Can't change language to Danish
Post by: je79ayps on February 09, 2004, 09:56:04 PM
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?
Title: Can't change language to Danish
Post by: Joachim Müller on February 10, 2004, 12:12:48 AM
you shouldn't be using cpg1.2.0 - the most recent stable version is cpg1.2.1!

GauGau
Title: Can't change language to Danish
Post by: je79ayps on February 10, 2004, 08:15:06 AM
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?
Title: Can't change language to Danish
Post by: Casper on February 10, 2004, 09:19:35 AM
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
Title: Can't change language to Danish
Post by: je79ayps on February 10, 2004, 10:56:13 AM
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?
Title: Can't change language to Danish
Post by: je79ayps on February 10, 2004, 12:57:16 PM
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.
Title: Can't change language to Danish
Post by: je79ayps on February 10, 2004, 12:58:15 PM
The source shows this:
<meta http-equiv="content-type" content="text/html; charset={charset}" />
Title: Can't change language to Danish
Post by: Joachim Müller on February 11, 2004, 12:39:58 AM
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
Title: Can't change language to Danish
Post by: je79ayps on February 12, 2004, 10:10:58 AM
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?
Title: Can't change language to Danish
Post by: Casper on February 12, 2004, 11:29:11 AM
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
Title: Can't change language to Danish
Post by: je79ayps on February 25, 2004, 02:58:22 PM
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.
Title: Can't change language to Danish
Post by: Casper on February 25, 2004, 06:18:53 PM
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.
Title: Can't change language to Danish
Post by: Joachim Müller on February 26, 2004, 06:42:06 AM
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
Title: Can't change language to Danish
Post by: je79ayps on February 26, 2004, 03:06:52 PM
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?