Error in Sample 4 when language=es

Talk about Multi-Language tricks, problems, errors etc.

Moderator: alexandrleonenko

Rhoemers
Newbie
Newbie
Posts: 4
Joined: Jan 10th, '09, 05:20

Error in Sample 4 when language=es

Postby Rhoemers » Jan 16th, '09, 03:01

hello I was try the 4 examples by versions 4.x.x, I use version 4.2.8 ; In sample 4 works fine when $dg_language = "en"; but when i put $dg_language = "es", the first datagrid its ok , but the second don't show , and show this error:

Fatal error: Cannot redeclare setlanguage() (previously declared in F:\AppServ\www\datagridPHP5\languages\en.php:6) in F:\AppServ\www\datagridPHP5\languages\es.php on line 111.

Any idea???

Thanks

Return to “Multi-Language implementation”