I think I know what the problem could be; In the file no_common.php an apostrophe was not closed (\') - could this cause such problems?
2 2004-01-18 12:41
Re: Installing new language (14 replies, posted in PunBB 1.2 troubleshooting)
My question is; Should I edit the no_common.php file to reflect on the language settings? This is how the first lines are edited in the no_common.php file:
<?php
// Determine what locale to use
switch (PHP_OS)
{
case 'WINNT':
case 'WIN32':
$locale = 'norwegian';
break;
case 'FreeBSD':
case 'NetBSD':
case 'OpenBSD':
$locale = 'no_NO.ISO8859-1';
break;
default:
$locale = 'no_NO';
break;
}
// Attempt to set the locale (required for fulltext indexing to work correctly)
setlocale(LC_CTYPE, $locale);
// Language definitions for frequently used strings
$lang_common = array(
// Text orientation and encoding
'lang_direction' => 'LTR', // LTR (Left-To-Right) or RTL (Right-To-Left)
'lang_encoding' => 'iso-8859-1',
3 2004-01-18 12:30
Re: Installing new language (14 replies, posted in PunBB 1.2 troubleshooting)
My fault, there are no config.php files in those directories, only in the root directory. The files I was refering to are the en_common.php and no_common.php files...
4 2004-01-18 00:54
Re: Installing new language (14 replies, posted in PunBB 1.2 troubleshooting)
I've checked and no matter what I do I get the error message mentioned earlier ("There is no valid language pack 'en' installed. Plese check $language setting in config.php). I have checked the file config.php in the directory /forum/lang/en and additionally /forum/lang/no and they are the same except from the line $language = '..';
I really need some help, is it possible to publish or mail anyone any of the files?
5 2004-01-17 10:47
Re: Installing new language (14 replies, posted in PunBB 1.2 troubleshooting)
I'll check again...
6 2004-01-16 23:50
Topic: Installing new language (14 replies, posted in PunBB 1.2 troubleshooting)
Hi! I've translated the forum to Norwegian but it does not seem possible to install the language files... I have edited the file config.php (the line $language = 'en'; has been changed to $language = 'no';) but I just get the error message "There is no valid language pack 'en' installed. Plese check $language setting in config.php."...
Any suggestions?