|
Page 1 of 1
|
zsolti10
Joined: December 2008
Posts: 48
Location:
|
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
|
#1 Sun 26 Jul, 2009 20:18 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
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
____________ Out of Order
|
#2 Sun 26 Jul, 2009 20:36 |
|
Danielc
Joined: August 2006
Posts: 248
Location:
|
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 '; ?
|
#3 Sun 26 Jul, 2009 20:38 |
|
novice programmer
Joined: June 2007
Posts: 1030
Location:
|
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 )
|
#4 Sun 26 Jul, 2009 21:03 |
|
spydie
Joined: December 2008
Posts: 1796
Location: In the Boxes
|
Re: Language Problem
OT: So we will get on a rocket on this ticket! (keyboard is not working properly )
To much coke spilled over it or what ??
____________ Out of Order
|
#5 Sun 26 Jul, 2009 21:05 |
|
novice programmer
Joined: June 2007
Posts: 1030
Location:
|
Re: Language Problem
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?
|
#6 Mon 27 Jul, 2009 00:28 |
|
zsolti10
Joined: December 2008
Posts: 48
Location:
|
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:
'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',
Last edited by zsolti10 on Fri 31 Jul, 2009 14:54; edited 3 times in total |
#7 Fri 31 Jul, 2009 14:16 |
|
Limun
Joined: January 2008
Posts: 1334
Location: [Censor]
|
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 483
lang_main.php line 483-492
'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
____________ We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
|
#8 Fri 31 Jul, 2009 14:43 |
|
zsolti10
Joined: December 2008
Posts: 48
Location:
|
Re: Language Problem
I don't know how, but i solved it
But here is the file
Description: |
|
Download |
Filename: |
lang_main.zip |
Filesize: |
32.93 KB |
Downloaded: |
128 Time(s) |
|
#9 Fri 31 Jul, 2009 14:56 |
|
Limun
Joined: January 2008
Posts: 1334
Location: [Censor]
|
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
so replace
with
____________ We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
|
#10 Fri 31 Jul, 2009 15:06 |
|
zsolti10
Joined: December 2008
Posts: 48
Location:
|
Re: Language Problem
And what program can remove that?
|
#11 Fri 31 Jul, 2009 15:17 |
|
Limun
Joined: January 2008
Posts: 1334
Location: [Censor]
|
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 
Description: |
|
Download |
Filename: |
lang_main.rar |
Filesize: |
31.49 KB |
Downloaded: |
122 Time(s) |
____________ We are the phpBBorg. Lower your Crackers. Your phpological and forumological distinctivness will be added to our own. Resistance if futile!
|
#12 Fri 31 Jul, 2009 15:30 |
|
zsolti10
Joined: December 2008
Posts: 48
Location:
|
Re: Language Problem
Thank you for your help
|
#13 Fri 31 Jul, 2009 15:34 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|