forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: andrez1 on November 25, 2005, 02:49:16 am

Title: danish language error
Post by: andrez1 on November 25, 2005, 02:49:16 am
If i try to switch to danish language (from fresh cpg1.4.2.zip) it produce:
 
Parse error: syntax error, unexpected T_STRING, expecting ')' in C:\apachefriends\xampp\htdocs\cpg142\lang\danish.php on line 1187



Mvh Andrez1




Title: Re: danish language error
Post by: Joachim Müller on November 25, 2005, 09:29:23 am
bug confirmed, the same thing happens on the demo: http://coppermine-gallery.net/demo/cpg14x/index.php?lang=danish
Title: Re: danish language error
Post by: Joachim Müller on November 25, 2005, 09:37:30 am
try using the version I attached (rename it from danish.php.txt to danish.php)
Title: Re: danish language error
Post by: andrez1 on November 25, 2005, 01:20:29 pm
try using the version I attached (rename it from danish.php.txt to danish.php)


Works well.

(but the characters are strange, as in Norwegian (another posting) and the solution the same, to save as 'ANSI'. Not sure if that is the correct solution.)


Mvh Andrez1
Title: Re: danish language error
Post by: Joachim Müller on November 25, 2005, 05:04:52 pm
no, this is not the correct solution. Your client (browser) isn't set up correctly if you see "funny" characters.
Marking this thread as "fixed" then as soon as I've committed the fix to the cvs.