Re: [Trac] Re: Update translation in a working installation of Trac 0.12

2010-07-16 Thread Matthew Caron

I think... ;-)


Worked like a charm, didn't even had to restart the server :)
Thank you very much!


I think what happens is that when it's an .egg file, it presumes 
everything is already byte-compiled. If it's a .egg directory, it checks 
for updated source and byte-compiles it if necessary.


I am not certain, however, as I know comparatively little about python's 
underpinnings.


--
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@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] Re: Update translation in a working installation of Trac 0.12

2010-07-15 Thread Matthew Caron

It seems that my case is somewhat different. My Trac installation is
under the same directory (/usr/lib/python2.5/site-packages), but my
egg is a file, not a directory. I did try to unzip it, update the
messages.mo file and replace the original egg file, but also no
success. Any ideas of what I am doing wrong?


That should have worked. Did you restart the webserver? Also, I'm not 
familiar with translations - is the .mo an input file which needs to be 
byte-compiled to some output object?


I also suspect that you might be able to get away with unzipping the egg 
into a directory named the same as the egg. Then you should be able to 
just drop the file in..


I think... ;-)


--
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@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.