News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Error when Selecting Languages

Started by Arebias, March 15, 2009, 09:58:57 PM

Previous topic - Next topic

Arebias



I am using Back n Black theme and I get this error when I select 'Languages' in the administration area.

Parse error:  syntax error, unexpected T_STRING, expecting ')' in /home/dallasu2/public_html/forum/Themes/default/languages/index.macedonian-utf8.php on line 20


Any Ideas?

Aleksi "Lex" Kilpinen

Can you take a look see and tell us what that line in the mentioned file has in it? :)
Would you mind posting say lines 18-22?

I'm just guessing there's a typo in there.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Arebias


Yes I can:

<?php
// Version: 1.1.5; Index

global $forum_copyright$forum_version$webmaster_email;

// Locale (strftime, pspell_new) and spelling. (pspell_new, can be left as '' normally.)
// For more information see:
//   - http://www.php.net/function.pspell-new
//   - http://www.php.net/function.setlocale
// Again, SPELLING SHOULD BE '' 99% OF THE TIME!!  Please read this!
$txt['lang_locale'] = 'mk_MK.utf8';
$txt['lang_dictionary'] = 'mk';
$txt['lang_spelling'] = '';

// Character set and right to left?
$txt['lang_character_set'] = 'UTF-8';
$txt['lang_rtl'] = false;

$txt['days'] = array(';
$txt['
days_short'] = array(';
// Months must start with 1 => 'January'. (or translated, of course.)
$txt['months'] = array(=> ';
$txt['
months_titles'] = array(1 => ';
$txt['months_short'] = array(=> ';

$txt['
newmessages0'] = '';
$txt['
newmessages1'] = '';
$txt['
newmessages3'] = '';
$txt['
newmessages4'] = ',';

$txt[2] = '';

$txt[10] = '';

$txt[17] = '';
$txt[18] = $context['
forum_name'] . ' - ;
$txt[19] = '';
$txt[20] = '';
$txt[21] = '';
$txt[22] = '';

$txt[24] = '(';
$txt[26] = '';
$txt[27] = '';
$txt[28] = '';
$txt[29] = '';
$txt[30] = '';
$txt[31] = '';
$txt[33] = '';

$txt[34] = '';
// Use numeric entities in the below string.
$txt[35] = '';
$txt[36] = '';

$txt[40] = '';

$txt[62] = '';
$txt[63] = '';
$txt[64] = '';
$txt[66] = '';
$txt[68] = '';
$txt[69] = 'Email';
$txt[70] = '';
$txt[72] = '';

$txt[79] = '';

$txt[81] = '';
$txt[82] = '';
$txt[87] = '';

$txt[92] = '';
$txt[94] = '';
$txt[95] = '';
$txt[96] = '';
$txt[97] = '';

$txt[101] = '';
$txt[102] = '';
$txt[103] = '';

$txt[104] = '';
$txt[105] = '';
$txt[106] = '';
$txt[107] = '';
$txt[108] = '';
$txt[109] = '';
$txt[110] = '';
$txt[111] = '';
$txt[114] = '';



Aleksi "Lex" Kilpinen

Would seem more than a typo - it appears to be missing a lot  ::) You might want to try and download the language files again, and see if they come up like that still...
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Arebias



OK. I downloaded that macedonian language pack and extracted that one .php from it and uploaded to the server.

Now it is working correctly.

Thanks for the help!


Aleksi "Lex" Kilpinen

#5
You're welcome. :) I'm glad I could help.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: