Language Problem »  Show posts from    to     

Icy Phoenix


Old Support Topics - Language Problem



zsolti10 [ Sun 26 Jul, 2009 20:18 ]
Post subject: Language Problem
Hello!
I "convert" a part of 1.2.0.27c language file compatible with 1.3.0.53, but my site display this:
Parse error: syntax error, unexpected ';', expecting ')' in /nfs/x0201/m/mu/muonlinehun/wwwroot/language/lang_hungarian/lang_main.php on line 86


spydie [ Sun 26 Jul, 2009 20:36 ]
Post subject: Re: Language Problem
you should take the English lang file from 1.3.0.53

and just translate line by line.

take your 1.2.0.27 file to compare but don´t use any var of it



It´s enough if you forget to close an simple ( ' ) and everything goes in the sh...er


Danielc [ Sun 26 Jul, 2009 20:38 ]
Post subject: Re: Language Problem
It seems to be a problem with the line 86 of the file. Is the syntax well? Are you sure that the string ends with '; ?


novice programmer [ Sun 26 Jul, 2009 21:03 ]
Post subject: Re: Language Problem
Hey, post the php string on here (just the var that gives the problem)

OT: So we will get on a rocket on this ticket! (keyboard is not working properly )


spydie [ Sun 26 Jul, 2009 21:05 ]
Post subject: Re: Language Problem
novice programmer wrote: [View Post]

OT: So we will get on a rocket on this ticket! (keyboard is not working properly )


To much coke spilled over it or what ??


novice programmer [ Mon 27 Jul, 2009 00:28 ]
Post subject: Re: Language Problem
spydie wrote: [View Post]
novice programmer wrote: [View Post]

OT: So we will get on a rocket on this ticket! (keyboard is not working properly )


To much coke spilled over it or what ??


It must be that the holidays are not so good for computers as for humans. I had been at Burdeaux, on France. BTW, we have made 2 offtopics from serious threads on just a couple of hours!

Could be the wet air of that zone ?

Perhaps it is time for another offtopic thread: Where have you been or will go for holidays this year?


zsolti10 [ Fri 31 Jul, 2009 14:16 ]
Post subject: Re: Language Problem
The problem is solved ( very big thanks for you), one ' was missing,but now it writes:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /nfs/x0201/m/mu/muonlinehun/wwwroot/language/lang_hungarian/lang_main.php on line 463

lang_main.php line 460-68:
Code: [Hide] [Select]
'Stored' => 'Az üzenet sikeresen elküldve.',
'Deleted' => 'Az üzenet sikeresen törölve.',
'Poll_delete' => 'Szavazás sikeresen törölve.',
'Vote_cast' => 'A szavazatod sikeresen elküldve.',

'Topic_reply_notification' => 'Téma válasz értesítés',

'Emoticons' => 'Emotikonok',
'More_emoticons' => 'Összes emotikon megtekintése',


Limun [ Fri 31 Jul, 2009 14:43 ]
Post subject: Re: Language Problem
zsolti10 wrote: [View Post]
The problem is solved ( very big thanks for you), one ' was missing,but now it writes:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /nfs/x0201/m/mu/muonlinehun/wwwroot/language/lang_hungarian/lang_main.php on line 483

lang_main.php line 483-492
Code: [Hide] [Select]
'Login_check_pm' => 'Lépj be a privát üzeneteid megtekintéséhez',
'New_pms' => ' %d új privát üzeneted van', // You have 2 new messages
'New_pm' => ' %d új privát üzeneted van', // You have 1 new message
'No_new_pm' => 'Nincs új privát üzeneted',
'Unread_pms' => '%d olvasatlan privát üzeneted van',
'Unread_pm' => '%d olvasatlan privát üzeneted van',
'No_unread_pm' => 'Nincs olvasatlan privát üzeneted',
'You_new_pm' => 'A new private message is waiting for you in your Inbox',
'You_new_pms' => 'New private messages are waiting for you in your Inbox',
'You_no_new_pm' => 'No new private messages are waiting for you',

i tested this and its ok ,so probably problem is in some other thing
can you post whole hungarian lang_main.php here in spoiler or in attachment please


zsolti10 [ Fri 31 Jul, 2009 14:56 ]
Post subject: Re: Language Problem
I don't know how, but i solved it
But here is the file


Limun [ Fri 31 Jul, 2009 15:06 ]
Post subject: Re: Language Problem
when i instaled your lang file i got blank page
note that is one strange thing in first line in your file
it didnt show up in notepad

see
strange

so replace
Code: [Hide] [Select]
<?php


with
Code: [Hide] [Select]
<?php


zsolti10 [ Fri 31 Jul, 2009 15:17 ]
Post subject: Re: Language Problem
And what program can remove that?


Limun [ Fri 31 Jul, 2009 15:30 ]
Post subject: Re: Language Problem
Win Merge or total commander

strange..
it appaer only in total commander

if i dont remove that  i cant open IP
maybe problem is in my PC

anyway here its your file without this 


zsolti10 [ Fri 31 Jul, 2009 15:34 ]
Post subject: Re: Language Problem
Thank you for your help




Powered by Icy Phoenix