1

Topic: Danish language pack for punbb 1.2.5

I've made a Danish language pack for punbb 1.2.5 - It's available here: http://ordo.dk/dlfun/PunBB-in-Danish.rar

Any technology distinguishable from magic, is insufficiently advanced.
Official Danish mirror for punbb: http://mirror.ordo.dk/punbb.org/

Re: Danish language pack for punbb 1.2.5

Really good language pack - without doubt the best Danish lang pack I have seen for PunBB so far.
Some comments though;
In common.php replace:

// Determine what locale to use
switch (PHP_OS)
{
    case 'WINNT':
    case 'WIN32':
        $locale = 'english';
        break;

    case 'FreeBSD':
    case 'NetBSD':
    case 'OpenBSD':
        $locale = 'en_US.US-ASCII';
        break;

    default:
        $locale = 'en_US';
        break;
}

with

// Determine what locale to use
switch (PHP_OS)
{
    case 'WINNT':
    case 'WIN32':
        $locale = 'danish';
        break;

    case 'FreeBSD':
    case 'NetBSD':
    case 'OpenBSD':
        $locale = 'da_DK.ISO8859-1';
        break;

    default:
        $locale = 'da_DK';
        break;
}

and the stopword list (stopwords.txt) should be translated too. You can use in one found in the old 1.1 dk lang pack as a starting point.
Keep up the good work!

3

Re: Danish language pack for punbb 1.2.5

Thanks for checking it out! I've put the code in common as you said, and taken the stopwords.txt from the old lang pack. I've also translated the mail templates, which I found by looking wink
I didn't really think to look, as I was using the PunBB Translator tool.

I've updated the .RAR file!

Any technology distinguishable from magic, is insufficiently advanced.
Official Danish mirror for punbb: http://mirror.ordo.dk/punbb.org/

4

Re: Danish language pack for punbb 1.2.5

Du you actually use a picture of a broken image as you avatar? big_smile That's funny smile

Any technology distinguishable from magic, is insufficiently advanced.
Official Danish mirror for punbb: http://mirror.ordo.dk/punbb.org/

Re: Danish language pack for punbb 1.2.5

Yeah, he's hilarious roll

CodeDuck: We need to get some work done on SWEEPR smile

"Programming is like sex: one mistake and you have to support it for the rest of your life."