Polish translation

Here you can post your custom-made, pimped up Serendipity installations, show off what you have achieved and tweaked
Locked
Malcolm
Posts: 2
Joined: Tue Mar 22, 2005 6:53 pm
Location: Poland, Opole
Contact:

Polish translation

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Polish translation

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Malcolm
Posts: 2
Joined: Tue Mar 22, 2005 6:53 pm
Location: Poland, Opole
Contact:

Post 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 :|
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Azrael

polish translation

Post by Azrael »

Any news about this translation?
Any way I could help?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: polish translation

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Locked