Page 1 of 1

Polish translation

Posted: Tue Mar 22, 2005 7:01 pm
by Malcolm
This is version 0.4, when i'm more free time i translate all messages.
The most recent messages in serendipity like menu, most administration panel (authoring, media, configuration) and destription comment are translated.
http://softstudio.postgres.pl/serendipi ... php.tar.gz

Unpack and copy this file to your serendipity/lang directory, and add in serendipity_lang.inc.php

Code: Select all

if(!defined('LANGUAGE_LIST')) define('LANGUAGE_LIST', 'en=>English,... blabla....,pl=>Polish');
.........
$supported_languages = array('en',...blabla...,'pl');
[edited]
Possible it's a bug.
If you want to polish locale work, comment this:

Code: Select all

/*
if (defined('DATE_LOCALES')) {
    $locales = explode(',', DATE_LOCALES);
    foreach ($locales as $locale) {
        $locale = trim($locale);
        if (setlocale(LC_TIME, $locale) == $locale) {
            break;
        }
    }
}
*/
and add this line

Code: Select all

setlocale(LC_TIME, 'pl_PL.ISO_8859-2');
This line change locale only for represented time, i don't see more changes when set it for LC_ALL
[/edited]

Have fun.

Dariusz 'Malcolm' Mikulski

Re: Polish translation

Posted: Wed Mar 23, 2005 12:46 pm
by garvinhicking
Hi Malcolm!

I'd love to put your translation into our CVS. But your translation is based on Serendipity 0.7, and many new strings needed to be added to serendipity 0.8.

Could you adapt your file to a Serendipity 0.8 installation? Then I could bundle it with the final 0.8 release!

Regards,
Garvin

Posted: Wed Mar 23, 2005 1:38 pm
by Malcolm
Ok, today i download version for 0.8 and i start translate this.
Question: when i end work send it for you or post on the forum ?

P.S. Please check in 0.8v this stupid setlocale function for polish language. When i set in se..._lang.pl.inc.php it's not work. I don't know why. Polish support in php is very strange :|

Posted: Wed Mar 23, 2005 4:10 pm
by garvinhicking
You can post it to the forums, or to the mailinglist, or mail it privately to me. It won't matter, I'm going to be the one who's bundling it and I will catch it on all three places. So take your choice :-D

About the setlocale: You need to check that your webserver really supports your locale. It will only fail if your server doesn't include the locale...

Regards,
Garvin

polish translation

Posted: Sun Nov 06, 2005 6:11 pm
by Azrael
Any news about this translation?
Any way I could help?

Re: polish translation

Posted: Sun Nov 06, 2005 8:47 pm
by garvinhicking
I haven'T yet received such a file, so you could take the lang/serendipity_lang_en.inc.php file and translate it to polish maybe? Sadly the version that was posted here was really out of date...

Regards,
Garvin