On Thu, 17 Oct 2013 09:03:49 -0700, Ryan Ollos
<[email protected]> wrote :
> >> I am evaluating Bloodhound (current trunk version and on Debian
> >> Testing) and here are a few feedbacks:
> >>
> >> 1) It seems that that we are missing trac/htdocs/js/messages
> >> contents (typically en_us.js)
> >> Indeed these javascript files are requested by line 983 of
> >> trac/web/chrome.py:
> >> if req.locale is not None:
> >>   add_script(req, 'common/js/messages/%s.js' % req.locale)
> >>
> >
> > I've noticed this as well, but will have to investigate.
> >
> 
> This will happen if the message catalogs are not compiled. If that is
> the case, you'll also likely notice that navigating
> to /prefs/language and changing the language has no effect. As you've
> noted already, once the message catalogs are compiled, you should
> find:
> 
> ls trac/htdocs/js/messages/
> ca.js     en_US.js  es_MX.js  he.js  ja.js  pt_BR.js  tr.js
> da.js     eo.js     et.js     hu.js  ko.js  ru.js     uk.js
> de.js     es_AR.js  fi.js     hy.js  nb.js  sl.js     zh_CN.js
> en_GB.js  es.js     fr.js     it.js  nl.js  sv.js     zh_TW.js
> 
> 
> If you install in development mode, the message catalogs will not be
> compiled. To compile them, you can cd to the trac sources directory
> and run "python setup.py install".
> 
> If you did not install in development mode, then we need to figure
> out why the message catalogs are not compiled. I suppose there could
> be a problem with your Babel install.
> 
> 

Hello,

Yes indeed, I was following the instructions from here:
https://issues.apache.org/bloodhound/wiki/BloodhoundContributing

Trac through this command:
pip install -r requirements-dev.txt

I manually installed Trac with setup.py install and
trac/htdocs/js/messages/ was generated.

Thanks !

Reply via email to