Re: [Trac] There is Babel, but I don't see “language”
For Babel I've done nothing of that. I've done easy_install Babel. Is it not so easy ? 2011/5/4 Jason Miller m.jason.mil...@gmail.com Not knowing what you have done to compile Babel, I will provide a set of instruction I just performed to allow multi-lingual support to my 'already running' Trac environment: Stop Apache mkdir ~/dev cd ~/dev svn co http://svn.edgewall.org/repos/babel/branches/stable/0.9.x babel svn co http://svn.edgewall.org/repos/genshi/branches/stable/0.6.x genshi svn co http://svn.edgewall.org/repos/trac/branches/0.12-stable trac curl -O http://unicode.org/Public/cldr/1.7.2/core.zip unzip core.zip cd babel python ./setup.py egg_info python ./scripts/import_cldr.py ~/dev/common sudo python ./setup.py install cd ../genshi sudo python ./setup.py install cd ../trac sudo python ./setup.py install At this point Trac is setup with multi lingual support. You already have a working Trac environment, so lets just simply update it: sudo su - trac-admin /path/to/your/trac upgrade trac-admin /path/to/your/trac wiki upgrade Start Apache... log in, check out prefrences, and you should now have a Language tab. Enjoy! Hope this helps! Jason On Tue, May 3, 2011 at 1:20 AM, istaous ista...@gmail.com wrote: I've installed on a Debian system Trac 0.12 (thanks http://superuser.com/questions/277674/easy-install-install-trac-0-11-but-i-want-0-12 ) and know I want to get the localization (for French). So I've installed Babel, but that doesn't work. I've uninstalled and re-installed Trac, but that doesn't work: I don't see Language in the preference panel. I do the same thing on a mandriva system, and that works like a charm. What's happend? How can I resolve that? Thanks. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. 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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. 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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] There is Babel, but I don't see “language”
Well, installing Babel through easy_install will get you Babel of course. However, the easy_install method does not download, compile and parse the unicode character dictionaries into the Babel parser. Babel in all its glory is just an interpreter plugin for Trac. But it still needs those language dictionaries CLDR: http://cldr.unicode.org Thankfully, its a very easy process to parse those dictionaries into Babel. As Babel has so graciously provided a simple script which does all the parse/conversion for you :) (./scripts/import_cldr.py) After reading the Babel wiki instructions, it appears that you must re-compile Babel every time you download a new CLDR update. Which is also why I included instructions on re-installing Babel. But, I think the one part you missed was obtaining the CLDR data. easy_install will not give you the ability to run that needed import_cldr.py script (someone correct me if I am wrong). Hope that helps! Jason On Wed, May 4, 2011 at 1:55 AM, Ista Pouss ista...@gmail.com wrote: For Babel I've done nothing of that. I've done easy_install Babel. Is it not so easy ? 2011/5/4 Jason Miller m.jason.mil...@gmail.com Not knowing what you have done to compile Babel, I will provide a set of instruction I just performed to allow multi-lingual support to my 'already running' Trac environment: Stop Apache mkdir ~/dev cd ~/dev svn co http://svn.edgewall.org/repos/babel/branches/stable/0.9.x babel svn co http://svn.edgewall.org/repos/genshi/branches/stable/0.6.x genshi svn co http://svn.edgewall.org/repos/trac/branches/0.12-stable trac curl -O http://unicode.org/Public/cldr/1.7.2/core.zip unzip core.zip cd babel python ./setup.py egg_info python ./scripts/import_cldr.py ~/dev/common sudo python ./setup.py install cd ../genshi sudo python ./setup.py install cd ../trac sudo python ./setup.py install At this point Trac is setup with multi lingual support. You already have a working Trac environment, so lets just simply update it: sudo su - trac-admin /path/to/your/trac upgrade trac-admin /path/to/your/trac wiki upgrade Start Apache... log in, check out prefrences, and you should now have a Language tab. Enjoy! Hope this helps! Jason On Tue, May 3, 2011 at 1:20 AM, istaous ista...@gmail.com wrote: I've installed on a Debian system Trac 0.12 (thanks http://superuser.com/questions/277674/easy-install-install-trac-0-11-but-i-want-0-12 ) and know I want to get the localization (for French). So I've installed Babel, but that doesn't work. I've uninstalled and re-installed Trac, but that doesn't work: I don't see Language in the preference panel. I do the same thing on a mandriva system, and that works like a charm. What's happend? How can I resolve that? Thanks. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. 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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. 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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. 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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] There is Babel, but I don't see “language”
On 5/4/2011 3:22 PM, Jason Miller wrote: Well, installing Babel through easy_install will get you Babel of course. However, the easy_install method does not download, compile and parse the unicode character dictionaries into the Babel parser. easy_install'ing Babel is all what is needed. It will fetch a pre-built package from the places listed in http://babel.edgewall.org/wiki/Download. Babel in all its glory is just an interpreter plugin for Trac. Not a plugin, just an optional dependency. But it still needs those language dictionaries CLDR: http://cldr.unicode.org Thankfully, its a very easy process to parse those dictionaries into Babel. As Babel has so graciously provided a simple script which does all the parse/conversion for you :) (./scripts/import_cldr.py) After reading the Babel wiki instructions, it appears that you must re-compile Babel every time you download a new CLDR update. True, but you don't necessarily need the latest CLDR, using the already bundled one should be enough (I'm not sure which version was used for Babel 0.9.6, but for Babel 0.9.5 it was CLDR 1.6.1). -- Christian Which is also why I included instructions on re-installing Babel. But, I think the one part you missed was obtaining the CLDR data. easy_install will not give you the ability to run that needed import_cldr.py script (someone correct me if I am wrong). Hope that helps! Jason On Wed, May 4, 2011 at 1:55 AM, Ista Poussista...@gmail.com wrote: For Babel I've done nothing of that. I've done easy_install Babel. Is it not so easy ? 2011/5/4 Jason Millerm.jason.mil...@gmail.com Not knowing what you have done to compile Babel, I will provide a set of instruction I just performed to allow multi-lingual support to my 'already running' Trac environment: Stop Apache mkdir ~/dev cd ~/dev svn co http://svn.edgewall.org/repos/babel/branches/stable/0.9.x babel svn co http://svn.edgewall.org/repos/genshi/branches/stable/0.6.x genshi svn co http://svn.edgewall.org/repos/trac/branches/0.12-stable trac curl -O http://unicode.org/Public/cldr/1.7.2/core.zip unzip core.zip cd babel python ./setup.py egg_info python ./scripts/import_cldr.py ~/dev/common sudo python ./setup.py install cd ../genshi sudo python ./setup.py install cd ../trac sudo python ./setup.py install At this point Trac is setup with multi lingual support. You already have a working Trac environment, so lets just simply update it: sudo su - trac-admin /path/to/your/trac upgrade trac-admin /path/to/your/trac wiki upgrade Start Apache... log in, check out prefrences, and you should now have a Language tab. Enjoy! Hope this helps! Jason On Tue, May 3, 2011 at 1:20 AM, istaousista...@gmail.com wrote: I've installed on a Debian system Trac 0.12 (thanks http://superuser.com/questions/277674/easy-install-install-trac-0-11-but-i-want-0-12 ) and know I want to get the localization (for French). So I've installed Babel, but that doesn't work. I've uninstalled and re-installed Trac, but that doesn't work: I don't see Language in the preference panel. I do the same thing on a mandriva system, and that works like a charm. What's happend? How can I resolve that? Thanks. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] There is Babel, but I don't see “language”
Ahh got it, I was performing an install from a subversion checkout is where I got confused. I was following these instructions: http://babel.edgewall.org/wiki/SubversionCheckout On Wed, May 4, 2011 at 7:46 AM, Christian Boos cb...@neuf.fr wrote: On 5/4/2011 3:22 PM, Jason Miller wrote: Well, installing Babel through easy_install will get you Babel of course. However, the easy_install method does not download, compile and parse the unicode character dictionaries into the Babel parser. easy_install'ing Babel is all what is needed. It will fetch a pre-built package from the places listed in http://babel.edgewall.org/wiki/Download. Babel in all its glory is just an interpreter plugin for Trac. Not a plugin, just an optional dependency. But it still needs those language dictionaries CLDR: http://cldr.unicode.org Thankfully, its a very easy process to parse those dictionaries into Babel. As Babel has so graciously provided a simple script which does all the parse/conversion for you :) (./scripts/import_cldr.py) After reading the Babel wiki instructions, it appears that you must re-compile Babel every time you download a new CLDR update. True, but you don't necessarily need the latest CLDR, using the already bundled one should be enough (I'm not sure which version was used for Babel 0.9.6, but for Babel 0.9.5 it was CLDR 1.6.1). -- Christian Which is also why I included instructions on re-installing Babel. But, I think the one part you missed was obtaining the CLDR data. easy_install will not give you the ability to run that needed import_cldr.py script (someone correct me if I am wrong). Hope that helps! Jason On Wed, May 4, 2011 at 1:55 AM, Ista Poussista...@gmail.com wrote: For Babel I've done nothing of that. I've done easy_install Babel. Is it not so easy ? 2011/5/4 Jason Millerm.jason.mil...@gmail.com Not knowing what you have done to compile Babel, I will provide a set of instruction I just performed to allow multi-lingual support to my 'already running' Trac environment: Stop Apache mkdir ~/dev cd ~/dev svn co http://svn.edgewall.org/repos/babel/branches/stable/0.9.x babel svn co http://svn.edgewall.org/repos/genshi/branches/stable/0.6.x genshi svn co http://svn.edgewall.org/repos/trac/branches/0.12-stable trac curl -O http://unicode.org/Public/cldr/1.7.2/core.zip unzip core.zip cd babel python ./setup.py egg_info python ./scripts/import_cldr.py ~/dev/common sudo python ./setup.py install cd ../genshi sudo python ./setup.py install cd ../trac sudo python ./setup.py install At this point Trac is setup with multi lingual support. You already have a working Trac environment, so lets just simply update it: sudo su - trac-admin /path/to/your/trac upgrade trac-admin /path/to/your/trac wiki upgrade Start Apache... log in, check out prefrences, and you should now have a Language tab. Enjoy! Hope this helps! Jason On Tue, May 3, 2011 at 1:20 AM, istaousista...@gmail.com wrote: I've installed on a Debian system Trac 0.12 (thanks http://superuser.com/questions/277674/easy-install-install-trac-0-11-but-i-want-0-12 ) and know I want to get the localization (for French). So I've installed Babel, but that doesn't work. I've uninstalled and re-installed Trac, but that doesn't work: I don't see Language in the preference panel. I do the same thing on a mandriva system, and that works like a charm. What's happend? How can I resolve that? Thanks. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. 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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] There is Babel, but I don't see “language”
Not knowing what you have done to compile Babel, I will provide a set of instruction I just performed to allow multi-lingual support to my 'already running' Trac environment: Stop Apache mkdir ~/dev cd ~/dev svn co http://svn.edgewall.org/repos/babel/branches/stable/0.9.x babel svn co http://svn.edgewall.org/repos/genshi/branches/stable/0.6.x genshi svn co http://svn.edgewall.org/repos/trac/branches/0.12-stable trac curl -O http://unicode.org/Public/cldr/1.7.2/core.zip unzip core.zip cd babel python ./setup.py egg_info python ./scripts/import_cldr.py ~/dev/common sudo python ./setup.py install cd ../genshi sudo python ./setup.py install cd ../trac sudo python ./setup.py install At this point Trac is setup with multi lingual support. You already have a working Trac environment, so lets just simply update it: sudo su - trac-admin /path/to/your/trac upgrade trac-admin /path/to/your/trac wiki upgrade Start Apache... log in, check out prefrences, and you should now have a Language tab. Enjoy! Hope this helps! Jason On Tue, May 3, 2011 at 1:20 AM, istaous ista...@gmail.com wrote: I've installed on a Debian system Trac 0.12 (thanks http://superuser.com/questions/277674/easy-install-install-trac-0-11-but-i-want-0-12 ) and know I want to get the localization (for French). So I've installed Babel, but that doesn't work. I've uninstalled and re-installed Trac, but that doesn't work: I don't see Language in the preference panel. I do the same thing on a mandriva system, and that works like a charm. What's happend? How can I resolve that? Thanks. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. 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 trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.