Language Problem


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

Profile PM  
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

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 '; ?

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! :mricy: (keyboard is not working properly :P )

Profile PM  
Subject: Re: Language Problem
novice programmer wrote: [View Post]

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


:roll: To much coke spilled over it or what ?? :LOL:

Subject: Re: Language Problem
spydie wrote: [View Post]
novice programmer wrote: [View Post]

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


:roll: To much coke spilled over it or what ?? :LOL:


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 :LOL: ?

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

Profile PM  
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: [Download] [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',

Last edited by zsolti10 on Fri 31 Jul, 2009 14:54; edited 3 times in total
Profile PM  
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: [Download] [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

Subject: Re: Language Problem
I don't know how, but i solved it :D
But here is the file


lang_main.zip
Description:  
Download
Filename: lang_main.zip
Filesize: 32.93 KB
Downloaded: 171 Time(s)

Profile PM  
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: [Download] [Hide] [Select]
<?php


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

Subject: Re: Language Problem
And what program can remove that?

Profile PM  
Subject: Re: Language Problem
Win Merge or total commander

strange.. :shock:
it appaer only in total commander

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

anyway here its your file without this 


lang_main.rar
Description:  
Download
Filename: lang_main.rar
Filesize: 31.49 KB
Downloaded: 155 Time(s)

Subject: Re: Language Problem
Thank you for your help :mrblue:

Profile PM  

Page 1 of 1


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.2102s (PHP: 17% SQL: 83%)
SQL queries: 13 - Debug Off - GZIP Enabled