Modify

Opened 19 years ago

Closed 13 years ago

#300 closed defect (wontfix)

Translation is not complete

Reported by: anonymous Owned by: Emmanuel Blot
Priority: high Component: TracFrenchTranslation
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

It seems that the <?cs alt:translation[something] ?><?cs var:something ?><?cs /alt ?> is not working and always returns the value of something (and not the translation). This could be especially seen in the ticket status.

Included is a patch that fixes that. I practically know nothing of python so a better version should be possible.

Attachments (1)

hdf_trans.patch (2.3 KB) - added by mathieu 19 years ago.

Download all attachments as: .zip

Change History (5)

Changed 19 years ago by mathieu

Attachment: hdf_trans.patch added

comment:1 Changed 18 years ago by Guillaume <g+track_hacks@…>

It seems you replace in your patch

    hdf['translation'] = {
    ...
    35 lines more
    ...

with

    hdf['translation'] = env.translations

It's working for me, and I think it's means better performance (so few). Also, this means you can define other translations in your trac.ini that you can use in your *.cs templates.

comment:2 Changed 18 years ago by Guillaume <g+track_hacks@…>

Sorry I would say :

It seems you can replace in your patch

(argh... too much english fault :-P)

comment:3 Changed 18 years ago by anonymous

comment:4 Changed 13 years ago by Emmanuel Blot

Resolution: wontfix
Status: newclosed

This plugin is not maintained since Trac offers full localization support.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.