Trouble editing language file Trouble editing language file
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Trouble editing language file

Started by royalfunk, October 23, 2005, 05:38:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

royalfunk

I made two simple changes in the english.php file and now I get this error message when I try to use Coppermine:

Parse error: parse error, unexpected $ in /home/my_username/public_html/lang/english.php on line 1131

I know how to work with language files and I can't understand why the simple changes I made would effect anything - they were only changes to the actual display text, not to variables.

Thanks,
Aaron

Nibbler

Maybe posting your changes would be useful.

royalfunk

Under $lang_meta_album_names I changed :
'random' => 'Random Flyer Pages', //cpg1.3.0

Tranz

You said you made two changes, what was the other one?

royalfunk

My last post got cut off somehow. The other changes were...

under $lang_main_menu I changed:
  'alb_list_title' => 'Go to the flyer list',
  'alb_list_lnk' => 'Flyer List',

Joachim Müller

what editor did you use to apply the changes? You mustn't use WYSIWYG editors like MS Frontpage or similar. Use notepad.exe instead. Post a link to your page and zip your language file and attach it to your reply (using "Additional options" when composing your message).