Hi all, I''ve been trying to monitor the traffic on the web site recently, and it seems like we''ve got a couple of Japanese Puppet users I didn''t know about. I''ve seen articles about Puppet on both madoro.org[1] and mizzy.org[2] recently. I haven''t looked into translations of Puppet''s documentation much, but this might be a good place to start. Do people think translations are a good idea? Does anyone have experience with how this should be done, especially how it might work within Trac? Also, we''ll need to handle the inline documentation within the Puppet code, which is where all of the reference documents are from. How should we handle those? 1 - http://www.madoro.org/nikki/entry/20 2 - http://mizzy.org/ -- I don''t always know what I''m talking about, but I''m always pretty much convinced that I''m right. -- musician Mojo Nixon --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Hi puppet users, At Mon, 26 Mar 2007 12:27:59 -0500, Luke Kanies wrote:> > I haven''t looked into translations of Puppet''s documentation much, > but this might be a good place to start. Do people think > translations are a good idea? Does anyone have experience with how > this should be done, especially how it might work within Trac? >How about creating translated {WikiName}Ja pages for each original English page (e.g., http://reductivelabs.com/trac/puppet/wiki/DocumentationStart -> http://reductivelabs.com/trac/puppet/wiki/DocumentationStartJa) and make a link each other? This may be pretty ad hoc, but would be a good point to start. -- yasuhito
Hi, I''m owner of http://mizzy.org/ and I''ve created a puppet wiki for Japanese.But the purpose of this wiki is mainly for my working log with puppet, not for translation of the original puppet wiki. So it seems good to have translated documents in the original wiki. I haven''t looked into translations of Puppet''s documentation much,> but this might be a good place to start. Do people think > translations are a good idea? Does anyone have experience with how > this should be done, especially how it might work within Trac?I''ve got TracNegoWiki plugin that''s not in public. It''s used in http://www.meadowy.org/~gotoh/projects/trac-wiki/. This plugin works like this: 1. Suppose we have the pages WikiStart, WikiStart.ja and Wikistart.fr. 2. If the browser accesses WikiStart with Accept-Language: ja header, trac returns the content of WikiStart.ja. 3. Same as above, with Accept-Language: fr, trac returns the content of WikiStart.fr. 4. If there is no page with suffix same as Accept-Language header, trac return the content of WikiStart. But this behavior cannot be implemented with pure trac plugin mechanism, so it hooks trac source code with aspect.py.So It might not work with trac 11.x. And it''s not used widly, so it may have bugs. If you think these problems are not problem, I will send this plugin. Thanks, Gosuke Miyashita _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Mar 27, 2007, at 7:42 AM, Gosuke Miyashita wrote:> Hi, > > I''m owner of http://mizzy.org/ and I''ve created a puppet wiki > for Japanese.But the purpose of this wiki is mainly for my > working log with puppet, not for translation of the original > puppet wiki. > > So it seems good to have translated documents in the original wiki.I agree.> I''ve got TracNegoWiki plugin that''s not in public. > It''s used in http://www.meadowy.org/~gotoh/projects/trac-wiki/. > > This plugin works like this: > > 1. Suppose we have the pages WikiStart, WikiStart.ja and Wikistart.fr. > > 2. If the browser accesses WikiStart with Accept-Language: ja header, > trac returns the content of WikiStart.ja. > > 3. Same as above, with Accept-Language: fr, trac returns the > content of > WikiStart.fr. > > 4. If there is no page with suffix same as Accept-Language header, > trac return the content of WikiStart.This sounds like what we''re looking for, I think.> But this behavior cannot be implemented with pure trac plugin > mechanism, > so it hooks trac source code with aspect.py.So It might not work with > trac 11.x.Hmm. I''m still only using 0.10.3, but this makes it somewhat likely that the plugin will break if I upgrade. I''m willing to take the risk, I guess, but people will have to notify me if it breaks.> And it''s not used widly, so it may have bugs. > > If you think these problems are not problem, I will send this plugin.I''m willing to give it a try, and there are enough non-American Puppet users that I''d like to do what I can to support them. Please send me the plugin. -- While one person hesitates because he feels inferior, the other is busy making mistakes and becoming superior. -- Henry C. Link --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Hi, I''m willing to give it a try, and there are enough non-American> Puppet users that I''d like to do what I can to support them. Please > send me the plugin.The developer of the plugin found the way to implement it with normal plugin mechanism and he put the information about this plugin on TracHacks. http://trac-hacks.org/wiki/TracWikiNegotiatorPlugin So you can get this plugin from here now. Thanks Gosuke Miyashita _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Mar 28, 2007, at 5:39 PM, Gosuke Miyashita wrote:> > http://trac-hacks.org/wiki/TracWikiNegotiatorPlugin > > So you can get this plugin from here now.Okay, this plugin is now installed (on all Reductive Labs Trac sites -- thanks, Puppet!). If anyone would like to recommend how we talk about this feature -- where to link to the instructions, for instance -- I''d like to hear about it. Also, if anyone has any idea how to add items to the left side of the smallest nav bar in Trac (where the ''Last Change'' link is), I''d like some help. I want to add a ''Watch this page'' link, to enable notifications, and I''d like to add a link to the different translations of a given page. Otherwise, will someone please update the wiki to reflect the fact that this plugin is installed? -- Sometimes I think we''re alone. Sometimes I think we''re not. In either case, the thought is staggering. --R. Buckminster Fuller --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com