= Translate changeset messages in timeline using Google Language API = == Description == JavaScript add-on that translates changeset comments in Trac timeline using Google AJAX Language API version 1 == Bugs/Feature Requests == Existing bugs and feature requests for GoogleTranslateTimelineScript are [report:9?COMPONENT=GoogleTranslateTimelineScript here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=GoogleTranslateTimelineScript&owner=techtonik new ticket]. == Download == Download the zipped source from [download:googletranslatetimelinescript here]. == Source == You can check out GoogleTranslateTimelineScript from [http://trac-hacks.org/svn/googletranslatetimelinescript here] using Subversion, or [source:googletranslatetimelinescript browse the source] with Trac. == Example == Place '''timeline.translate.js''' into your project ''htdocs/'' directory. Merge the following snippet into environment's ''templates/site.html'' head section: {{{ <head py:match="head" py:attrs="select('@*')"> ${select('*|comment|text()')} <py:if test="req.environ['PATH_INFO'] == '/timeline'"> <!-- Timeline specific - changeset comments translation using Google API --> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript" src="${href.chrome('site/timeline.translate.js')}"></script> </py:if> </head> }}} Tune ''timeline.translate.js'' to match you source/target language. See how it works at:[[BR]] http://farmanager.rainforce.org/timeline == Recent Changes == [[ChangeLog(googletranslatetimelinescript, 3)]] == Author/Contributors == '''Author:''' [wiki:techtonik] [[BR]] '''Contributors:'''