On Fri, Aug 13, 2010 at 4:40 AM, Teddy <[email protected]> wrote:
> Hi, > > I have been trying to replace/remove a couple of instances of text > throughout Trac to better match and project (and also because I will > need to do a French translation). > Trac version? Trac 0.12 have support for i18n and interface localizations: http://trac.edgewall.org/milestone/0.12 > > I have read the genshi guide and a few threads but however I can't > figure it out... in this instance I am trying to replace the "Create > New Ticket" text on the new ticket page with "Place a New Order": > You need to lookup ITemplateStreamFilter (don't have time to give you details but this is the way to do go) > " > <div py:match="d...@id='content' and @class='ticket']/text"> > <h1> > <py:choose> > <py:when test="ticket.exists"> > <a py:strip="not version and version != 0" href="$ > %7Bhref.ticket%28ticket.id%29%7D"> > Ticket #${ticket.id} </a></py:when><py:otherwise>Place a > New Order<span py:if="preview_mode and ticket.type" class="status">($ > {ticket.type})</span> > </py:otherwise> > </py:choose> > " > > This was the closest I could think of... someone street me in the > right direction? > > I pretty much need to change every instance of text throughout the > trac interface (I'm from Montreal and for business its very important > we have a working French version of our site). > > This might seem trivial but I am trying and read everything I could > before coming here, promise. :) > > Cheers > > Teddy > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<trac-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
