Modify

Opened 9 years ago

Closed 3 years ago

#300 closed defect (wontfix)

Translation is not complete

Reported by: anonymous Owned by: eblot
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 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by mathieu

comment:1 Changed 8 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 8 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 8 years ago by anonymous

comment:4 Changed 3 years ago by eblot

  • Resolution set to wontfix
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.