french translation

Discussion corner for Developers of Serendipity.
Post Reply
mchinfa
Regular
Posts: 28
Joined: Tue May 08, 2007 4:26 pm
Contact:

french translation

Post by mchinfa »

Hello,

I've translate two files.
One for bulletproof template and another to pluin forum.
how can I send it to introduce in plugin and template.

Thanks for your answers

Bye

Mchinfa
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: french translation

Post by garvinhicking »

Hi!

You can attach the language files here in the forum, then I can put them online!

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/
mchinfa
Regular
Posts: 28
Joined: Tue May 08, 2007 4:26 pm
Contact:

Re: french translation

Post by mchinfa »

Here is the two file for french translation.
I've change the extension because .php is not allowed to upload.
I'hope it's ok for you.

I've change the présentation of forum buttons.
In code I've introduce table and td an put an image on background td and introduce mor text in language file.
With this option it's more esier to change the button value with language file.

If you want to see it here is the website I've made with this .
http://www.dieteticienbenguigui.fr/site ... &boardid=1
So you can see it and tell me if you want me to send you the modified files.

Bye
Mchinfa
Attachments
lang_fr.inc.txt
French translation for plugin forum
(12.05 KiB) Downloaded 356 times
lang_fr.inc.txt
French Translation of bulletproof template
(5.15 KiB) Downloaded 342 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: french translation

Post by garvinhicking »

Hi!

Thanks a lot, I committed those files! I also like the button approach, so yes, I would like to commit that!

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/
mchinfa
Regular
Posts: 28
Joined: Tue May 08, 2007 4:26 pm
Contact:

Re: french translation

Post by mchinfa »

Hello garvin,

For Forum

I think thre is one thing I should change.
Yet the css file for forum buttons is on my template bulletproof.

Can I put a css file in plugin forum directory ?

Or should I change the default css template ?

Thanks for your anwser
Mchinfa
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: french translation

Post by garvinhicking »

Hi!

The default css code of the plugin comes from the serendipity_event_forum.php file (at around line 2843) so I could change it there, if you tell me what needs changing...?

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/
mchinfa
Regular
Posts: 28
Joined: Tue May 08, 2007 4:26 pm
Contact:

Re: french translation

Post by mchinfa »

Garvin
I add some code into serendipity_event_forum.php and add a css class.
I've put this class in my templace to define the style of TD

I think it'll be easier to add a css file in puglin forum but I don't know if it's possible.
I put the serendipity_event_forum.txt in this message you'll see my change.

So if adding css file in plugin forum it's impossible I could change serendipity_event_forum.php to include the style of td.

Can you tell me what it's possible ?


edit :
grrrrr I've an error message and I can't upload the file
mchinfa
Regular
Posts: 28
Joined: Tue May 08, 2007 4:26 pm
Contact:

Re: french translation

Post by mchinfa »

So I try to change the css styl ein serendipity_event_forum.php

I've a problem for the path of the background image.
I put this code
.serendipityForum {
font-family: verdana, arial, helvetica, sans-serif;
font-weight: bold;
letter-spacing: -1px;
color: #496302;
padding: 8px 5px 8px 5px;
border-left: 1px solid #496302;
border-right: 1px solid #496302;
border-top: 1px solid #496302;
background: #B4F20B url('img/SideBarTitle.gif') repeat-x;

margin: 0;
}


But there is not background image.
Perhaps I've made a mistake about the file path. I've copied the file in img folder.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: french translation

Post by garvinhicking »

Hi!

Maybe for the URL you could try to use an absolute path?

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/
Post Reply