Comments display - link translations

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

Comments display - link translations

Post by FrAndy »

Hi,
I'd like to translate (delete) and (reply) - see blow - in french.
But i can't localize the right file for translation
Is it easily possible to do it and could't you help me please ?

Andy


------------------------------------------------------------------------------------
Commentaires
Afficher les commentaires en (Vue non groupée | Vue groupée)


Mon commentaire ici bblablbalblablabblabalbala
#1 test sur 26.07.2005 11:30 (delete) (Reply)
-------------------------------------------------------------------------------------
wesley
Regular
Posts: 197
Joined: Sun Jul 10, 2005 11:15 am
Contact:

Post by wesley »

Okay, this... looks like an oversight. I checked and... 'delete' and 'Reply'
are both hard-coded into comments.tpl template file. It is not localizable
per language as of yet. As a temporary workaround, you can edit that
template file of your current theme selection (if the theme doesn't have
it edit the file in Default theme) and replace the words with the French
equivalent.
I make s9y plugins, too.
My s9y blog depends on them. :)
Frandy

Post by Frandy »

It works
Great

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

Post by garvinhicking »

The "Reply" variable has been localized in the 0.9 serendipity templates...

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/
wesley
Regular
Posts: 197
Joined: Sun Jul 10, 2005 11:15 am
Contact:

Post by wesley »

'delete' should be localizable as well, though.
I make s9y plugins, too.
My s9y blog depends on them. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

That functionality for "delete" came from the plugin serendipity_event_deletlink which contained constants that only were translated for english and taiwanese. I updated version 1.2 of the plugin to use "EDIT" and "DELETE" constants instead.

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