Language pack

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Guest

Language pack

Post by Guest »

I'm creating a language-file in swedish that I'll send to the Serendipity-team. But there is a problem. I just want to bug test it and uploads it to the lang-folder, but even if it has got it owns name I can't find it in admin-mode. What's wrong? :?
tadpole
Regular
Posts: 88
Joined: Fri Oct 08, 2004 6:20 am
Location: 33°6'4.079" North, 117°3'6.563" West
Contact:

Post by tadpole »

Take a look at serendipity_lang.inc.php... specifically, lines three and fourteen.
Guest

Post by Guest »

What do you mean?
jhermanns
Site Admin
Posts: 378
Joined: Tue Apr 01, 2003 11:28 pm
Location: Berlin, Germany
Contact:

Post by jhermanns »

add 'sw', or whatever the 2letter code is for sweden, in line 14 of the file tadpole mentioned. it looks like this:

Code: Select all

$supported_languages = array('en', 'da', 'de', 'es', 'cs', 'cz', 'fr', '
nl', 'pt', 'bg', 'no', 'it');
Post Reply